For Salesforce admins: after you refresh a sandbox, or create a new one from production, work through this checklist so Docs Made Easy runs there the same way it does in production. It takes about 20 minutes, plus the time support needs to enable Pro for the new Org ID.

Before you begin

  • System Administrator access in the sandbox. Sandbox usernames end with the sandbox name, for example admin@burlington.com.uat.
  • Know the sandbox type. Developer and Developer Pro sandboxes copy configuration only. Partial Copy and Full sandboxes also copy records.
  • Production works. If a solution fails in production, fix it there first. See the document didn't generate checklist.

How it works

A refresh replaces the sandbox with a fresh copy of production, so anything you set up only in the old sandbox is gone. The table shows the Salesforce changes that matter to Docs Made Easy.

What Salesforce changesWhat it means for Docs Made Easy
The sandbox gets a new Org IDPro features, which support enables for your Org ID, need the new ID
Users get new usernames, and their email addresses get .invalid addedEach tester authorizes the app again; user emails don't arrive until fixed
Records are copied only into Partial Copy and Full sandboxesDeveloper sandboxes have no document solutions, templates or queries
Records created in the sandbox get IDs of their ownSolution, query and email address IDs copied from production may not match
Email deliverability is set to System email onlyEmailed documents aren't sent (email troubleshooting)

Check packages and access

  1. In Setup, open Installed Packages and check that Docs Made Easy and Docs Made Easy Pro (if you use Pro) are both listed. To check the version, see Upgrade and check your version.
  2. For each package, click Manage Licenses and check that your testers are licensed. If not, click Add Users and add them. See Assign licenses and permission sets.
  3. In Permission Sets, open your cloned Docs Made Easy permission set and check that Docs Made Easy API is under Assigned Connected Apps and your testers are assigned.
  4. In App Manager, open Docs Made Easy API > Manage and check that Permitted Users is Admin approved users are pre-authorized. If not, click Edit Policies and set it.
  5. In Trusted URLs, check for DMECSP with URL https://docsmadeasy.app and connect-src (scripts) selected. Add it if it's missing.
  6. Ask each tester to open Docs Made Easy in the sandbox and click Authorize App, then Allow. Their sandbox login is a different user from their production login. See Fix Authorize App.

Enable Pro for the new Org ID

  1. In the sandbox, open Setup > Company Information and copy the Organization ID (it starts with 00D). See Find and share your Org ID.
  2. Contact support with the new sandbox Org ID, your production Org ID and the sandbox name, and ask for Pro features to be enabled. The license guide explains that support enables Pro features for your Org ID.

Fix solutions and org-specific IDs

  1. Open Document Solutions and check your solutions are there. In a Developer sandbox, or if you built solutions in the old sandbox, they're missing: move them from production with Push to Production/Sandbox (Pro, both directions) or rebuild them.
  2. In each flow that calls ASync Document Generate Solution, open the solution in this org, copy its Solution ID and paste it into documentSolutionId. Do the same for the Solution ID and Query ID on each Document Bulk Merge record. See Flow or bulk generation failed.
  3. Check parameters that hold record IDs, such as QVar0Id and EmailFromID or owdemailid (org-wide email address IDs usually start with 0D2). Copy the IDs again from this org. See Choose a data source.
  4. If you need to test emailed documents, set Setup > Deliverability > Access level to All email. Contact and lead emails aren't masked by a refresh, so check who the solution emails before you do this.

Verify it worked

Log in to the sandbox as a tester, open a record and click the solution button. The document generates with the record's data in a few seconds and goes where the solution sends it. For Flow, save a record that meets the flow's conditions, refresh the page after a few seconds and check Files and Notes & Attachments.

Troubleshooting

SymptomLikely causeFix
Authorize App prompt for every testerSandbox users haven't authorized the appEach tester clicks Authorize App once (guide).
Session expired or invalid (DME-AUTH-001)Logged in to production and the sandbox in the same browserUse a separate browser profile for each org.
"… merge is not allowed in this basic version" (DME-LIC-002)Pro isn't enabled for the new Org ID yetSend the sandbox Org ID to support.
Flow or bulk run makes no documentIDs from another orgRe-copy the Solution ID and Query ID in this org. Flow failures show in the sandbox's debug logs.
No document solutions in the listDeveloper sandbox, or solutions built only in the old sandboxPush them from production, or rebuild them.
Email not sentDeliverability is System email onlySet All email when safe (email troubleshooting).

Next steps