For admins and the users they support: Quick Merge lets people generate, email and attach documents from the Salesforce record page in a few clicks, without leaving the record. Setting it up takes about 10 minutes once you have a working document solution.

Before you begin

  • Docs Made Easy Pro. Quick Merge is a Pro feature, described in the Pro release notes (v1.9.0 and v1.17.0). See Compare editions.
  • A license and permission set for each user who will use it. See Assign licenses and permission sets.
  • At least one active document solution that already works on the object, when you click its button on a record. Quick Merge runs your existing solutions; it doesn't replace building them. See Document Automation Wizard: every step explained.
  • Permission to edit Lightning record pages in Salesforce (Lightning App Builder), if you add the component yourself.

How it works

Quick Merge is a component on the record page. It lists the active solutions on the record's object. A user selects a solution, removes any of its templates they don't need, and generates the documents from one central window. From the same window they can send the files by email or attach them to the record.

  • One file or several: each template downloads as a separate file. If the solution has the MergeDocument parameter, the user gets one merged file instead.
  • Where files go: the solution's settings decide. For example, if the solution posts to Chatter, the Quick Merge file is posted to Chatter.
  • Usage: each Quick Merge document counts toward your plan's document limit and shows on the Usages page under API.
If you need…Use…
One button that opens the full Composer page with download, format and save optionsThe solution button
Several solutions listed together, generated with Merge & DownloadA Document Solution Collection
Pick a solution and templates, generate, then email or attach in one windowQuick Merge

Add Quick Merge to the record page

The Pro v1.9.0 notes say "page layout" and v1.17.0 says "record page"; they mean the same thing. You add Quick Merge by editing the record page in Lightning App Builder:

  1. Open a record of the object your solutions are built on, for example an opportunity.
  2. Click the gear icon and select Edit Page. Lightning App Builder opens.
  3. In the Components panel, find the Docs Made Easy Quick Merge component and drag it onto the page.
  4. Set the component's properties, for example which solutions it lists, then click Save. If Salesforce asks you to activate the page, assign it to the apps, record types or profiles that should see it.

Generate the documents

  1. Open a record that has the Quick Merge component.
  2. In Quick Merge, select a document solution.
  3. In the next window, remove any templates you don't need.
  4. Generate the documents. They're created in the same window, so the user doesn't leave the record.

Email or attach the documents

  1. To email the documents, add the recipients in the Quick Merge window and send them.
  2. To keep a copy with the record, attach the generated files to the related record from the same window.

Where the file is saved follows the solution's settings on Assign Behaviors.

Verify it worked

  • The Quick Merge component appears on the record page for a user with a Docs Made Easy license.
  • After generation, the documents are shown in the Quick Merge window and contain the record's data, not blank fields or raw {{…}} tags.
  • If you emailed them, the recipients receive the email with the documents. If you attached them, refresh the record and check its related lists. See Where generated documents go.

Troubleshooting

SymptomLikely causeFix
A solution is missing from Quick MergeThe solution isn't active, is built on another object, or isn't selected in the component's propertiesActivate the solution, or check the component's properties in Lightning App Builder
The component isn't in the Components panelDocs Made Easy Pro isn't installed, or the installed version predates Quick MergeCheck your edition and version. See Compare editions.
Users don't see the component on the recordThe page wasn't activated for their app, record type or profile, or they have no licenseActivate the page for them in Lightning App Builder and check Users can't see the button.
Fields in the document are blank or show {{…}}A template or Gather Data problem in the solutionSee Merge fields are blank or show tags.
"Usage policy violation"Your plan's document limit is reachedSee DME-LIC-001 and Track document usage.
"… merge is not allowed in this basic version"The template is a PDF form, Excel or PowerPoint file and your license doesn't include itSee DME-LIC-002.
The email doesn't arriveRecipient, sender or Salesforce email settingsSee Email not sent or missing attachment.

Next steps