Adding Documents Buttons to Salesforce Page Layouts

Not only do you have the option to set up criteria for generating documents automatically, but users can also generate documents on demand using the Merge Document button on a Salesforce record. The objects automatically supported by Formstack Documents for Salesforce are Account, Case, Contact, Lead, and Opportunity.

**If you are using another Standard/Custom Object, please read this article on setting up Custom Objects and Buttons.


From Setup, open the Object Manager and select the Object whose page you want to add the button to. From the left panel, select Page Layouts


Drag the Merge Document button into the Custom Buttons section of the Page Layout.



Was this article helpful?
6 out of 8 found this helpful


  • Jeremy, how would you add the Webmerge button to a lightning layout (specifically on the contact).

  • Hello Jenn,
    I am happy to answer your question!
    I apologize but these screenshots are out of date. We are working to update the screenshots to reflect the Salesforce Lightning changes.
    This is how you would navigate to add a WM button to a Lightning layout:
    Go to your Contact > in the upper right hand corner, select the gear with the lightning icon > select Edit Object > select Page Layouts > select the layout you want to add the button to > select Mobile & Lightning Actions > select the WebMerge button and drag it down to the Salesforce Mobile and Lightning Experience Actions section of the page.
    Please reach out if you have any further questions!


Please sign in to leave a comment.