For Salesforce admins: remove Docs Made Easy and Docs Made Easy Pro from your org cleanly, without losing templates you want to keep. It takes about 30 minutes, more if many page layouts, flows or Apex classes use the app.

Before you begin

  • System Administrator access, or another user with permission to uninstall packages.
  • Tell your users, and turn off scheduled bulk merges and flows that generate documents.
  • Try it in a sandbox first if many flows, layouts or Apex classes use Docs Made Easy. The sandbox shows you what blocks the uninstall without affecting production.

What uninstalling removes

ItemWhat happens
Package components: objects, tabs, pages, packaged permission sets, the Docs Made Easy API connected app, the Flow actionSalesforce deletes them
Records in the packages' objects: document solutions, Document Template, Document Query, Document Email Template and Document Bulk Merge recordsSalesforce deletes them. You can ask Salesforce to keep an export for 48 hours
Generated files saved to your records in Files, Notes & Attachments, Chatter or Documents (where they go)They're standard Salesforce records, not package records, so they stay
Things you created: the solution buttons on your objects, your cloned permission set, the DMECSP trusted URL, flows, Apex classes, Lightning page componentsSome block the uninstall until you remove them. Others stay behind for you to delete
Your data on Docs Made Easy's serversDocs Made Easy states that it processes your data on its servers only while it generates a document, and stores nothing there. See Security and data handling

Export what you want to keep

  1. Open Document Solutions and note each solution's name, object, parameters and behaviors you might need again. Screenshots of Assign Behaviors are enough.
  2. Download the Word, Excel, PowerPoint or PDF template file from each template you want to keep.
  3. For a full copy, run a Salesforce export from Setup > Data Export, select the Docs Made Easy objects and Include Salesforce Files and Salesforce CRM Content document versions, then download the export when Salesforce emails you.

Remove references to the packages

  1. Solution buttons. For each object with a Docs Made Easy button, open the page layouts and remove the button from Salesforce Mobile and Lightning Experience Actions. Then delete the button from the object's Buttons, Links, and Actions.
  2. Lightning page components. In Lightning App Builder, remove Docs Made Easy components such as Quick Merge or a Document Solution Collection, and save and activate the page.
  3. Flows. Deactivate and delete flows (or flow versions) that call the ASync Document Generate Solution action, including flows that email documents.
  4. Apex. Remove Apex classes that implement hic_docmerge.IDmeApexDataSourceProvider (Apex data relationships). In production, remove Apex with a deployment, because you can't delete it directly there.
  5. Permission sets. Remove your cloned Docs Made Easy permission set from users and delete it.

Uninstall the packages

  1. In Setup, open Installed Packages.
  2. Click Uninstall next to Docs Made Easy Pro. If you don't use Pro, skip to step 5.
  3. If Salesforce lists components that block the uninstall, remove each one (it names the component and where it's used), then start again.
  4. Choose whether to save a copy of the package's data for 48 hours, select Yes, I want to uninstall this package and permanently delete all associated components, and click Uninstall. Salesforce emails you when it finishes.
  5. Repeat steps 2–4 for Docs Made Easy (shown as HIC Docs Made Easy in older orgs).

Clean up

  1. In Trusted URLs, delete DMECSP (https://docsmadeasy.app).
  2. In Connected Apps OAuth Usage, check that Docs Made Easy API is no longer listed. If it is, click Revoke to end users' access.
  3. Contact support with your Org ID (how to find it) to close your subscription.

Verify it worked

Installed Packages no longer lists either package, the Docs Made Easy app is gone from the App Launcher, and the record pages that had solution buttons show none. Generated files are still on the records where they were saved.

Troubleshooting

SymptomLikely causeFix
"Unable to uninstall package" with a list of componentsSomething still refers to the packageRemove each listed component, then uninstall again.
Can't delete an Apex class in productionSalesforce doesn't allow deleting Apex directly in productionRemove it with a deployment, or delete it in a sandbox and deploy.
A flow still references the actionAn inactive flow version still uses itDelete the old flow versions too.
Salesforce says another package depends on Docs Made EasyDocs Made Easy Pro is still installedUninstall Docs Made Easy Pro first.

Next steps