Solutions
Examples
Document Merge Direct Link
this guide will help you set up a button within salesforce to create documents such as contracts or letters for clients for this example, you will create an opportunity overview document when you are on an opportunity page in salesforce, you will be able to click a button to generate a document that automatically pulls in the data for that specific opportunity this is done by filtering the document using the opportunity id, which ensures that only the relevant information for the opportunity you are currently viewing is included initial setup create your burst report creating a report for your burst any fields you would like to use on your document will need to be added to this report as well as the field that you plan to filter by, in this case it will be the opportunity id (for more info on creating a burst report, see our burst example) create your document template next you will need to create your document you can do so so using any word processor, such as microsoft word if you navigate to your new report in unaric reports you will see an icon to the right, if you click on that a list of all your variables available for this report will show use these variables to create your document, these variables will allow your document to be dynamic unaric reports setup upload your document on unaric reports, navigate to templates > document and click the add button set up your solution navigate to solutions > add on step 2 of the solution "do you want to add items?" , select yes and report, then next set up this report as follows, it will be a burst report with the filter value being opportunity id the opportunity id needs to be a part of your report in order to be an option in the dropdown menu for filter value field select next then on "do you want to add more items?", select yes and document, then next select your document template and the file type you would like when doing a direct link, only one file type will be used, it will always default to the pdf if both boxes are checked select next for send options make sure all options are unchecked ( we do not need any send configurations since we will only be using this document merge as a direct link in salesforce ) again select next uncheck the solution option ( we do not need a solution set up since we will only be using this document merge as a direct link in salesforce ) select next and then finish salesforce setup configure your salesforce button navigate to the direct link for your solution the button page will explain the process for setting up your button in salesforce follow the steps and then copy and paste the download url when adding your new button in salesforce make sure you are checking the filtervalue in the url that you paste in it may need to change depending on what you have configured for us it will need to change to opportunity id as shown below generate your document after you have your new direct link button set up and added to your page layout you will be able to simply just click on the button on any opportunity and your document will be downloaded