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 options | The solution button |
| Several solutions listed together, generated with Merge & Download | A Document Solution Collection |
| Pick a solution and templates, generate, then email or attach in one window | Quick 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:
- Open a record of the object your solutions are built on, for example an opportunity.
- Click the gear icon and select Edit Page. Lightning App Builder opens.
- In the Components panel, find the Docs Made Easy Quick Merge component and drag it onto the page.
- 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
- Open a record that has the Quick Merge component.
- In Quick Merge, select a document solution.
- In the next window, remove any templates you don't need.
- Generate the documents. They're created in the same window, so the user doesn't leave the record.
Email or attach the documents
- To email the documents, add the recipients in the Quick Merge window and send them.
- 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
| Symptom | Likely cause | Fix |
|---|---|---|
| A solution is missing from Quick Merge | The solution isn't active, is built on another object, or isn't selected in the component's properties | Activate the solution, or check the component's properties in Lightning App Builder |
| The component isn't in the Components panel | Docs Made Easy Pro isn't installed, or the installed version predates Quick Merge | Check your edition and version. See Compare editions. |
| Users don't see the component on the record | The page wasn't activated for their app, record type or profile, or they have no license | Activate 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 solution | See Merge fields are blank or show tags. |
| "Usage policy violation" | Your plan's document limit is reached | See 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 it | See DME-LIC-002. |
| The email doesn't arrive | Recipient, sender or Salesforce email settings | See Email not sent or missing attachment. |
Next steps
- Create a Document Solution Collection to list several solutions in one place.
- Send documents for eSignature with Sign Made Easy.
- Track document usage to see who generates documents.
- Generate bulk documents when you need one document per record for many records.