Use this page when users can't find a Docs Made Easy button on a record, or can see it but can't use it. If the button works but no document comes out, use the document didn't generate checklist.

What you'll see

  • The button shows for you (often an administrator) but not for other users.
  • The button doesn't show on the Lightning record page at all, although you added it to the page layout.
  • Users click the button and see an Authorize App prompt, a Canvas error, or an error such as DME-AUTH-001 or DME-SF-004.

Most likely causes

  1. The button is on a different page layout from the one assigned to the user's profile or record type.
  2. The button is in the wrong section of the page layout.
  3. The Lightning record page doesn't use the layout's actions, because it uses Dynamic Actions or a different page is assigned to that app, record type or profile.
  4. The user has no license, permission set or authorization, so the button shows but doesn't work.

How to fix it

The button is on a different page layout

  1. In Setup, open Object Manager, select the object (for example Opportunity), and click Page Layouts.
  2. Click Page Layout Assignment and find the layout assigned to the user's profile and record type.
  3. Add the button to that layout too (see the next section). Repeat for every layout your users are assigned.

The button is in the wrong section

  1. Open the page layout and click Mobile & Lightning Actions in the palette.
  2. Drag your button into the Salesforce Mobile and Lightning Experience Actions section, then click Save. Once that section is customized, Lightning Experience shows only the actions in it, not the buttons in the Custom Buttons section.
  3. On the record, check the Show more actions menu (the arrow at the end of the action bar). When the bar is full, Salesforce moves extra buttons there.

The wizard's Go to Page Layouts step does the same. See Create a template with the Document Automation Wizard.

The Lightning record page doesn't use the layout's actions

  1. Open a record as an affected user would, click the gear icon, and select Edit Page.
  2. Select the Highlights Panel. If it uses Dynamic Actions, Salesforce ignores the page layout's actions. Click Add Action, select your button, and click Save.
  3. Click Activation to see how the page is assigned (org default, app, record type and profile). If affected users get a different Lightning page, add the button to that page too.

For Docs Made Easy Pro components such as the Document Solution Collection, there's no button: add the component to the Lightning record page in Edit Page. See Create a Document Solution Collection.

The button shows but doesn't work

  1. Check licenses: in Setup → Installed Packages, click Manage Licenses for Docs Made Easy and again for Docs Made Easy Pro, and check that the user is in both lists.
  2. Check the permission set: the user needs your copy of Docs Made Easy Pro User, with Docs Made Easy API in Assigned Connected Apps. See Assign licenses and permission sets.
  3. Ask the user to log in with their own credentials, open Docs Made Easy and click Authorize App, then Allow. Each user does this once, the first time they generate a document after install. It's separate from the connected app's Admin approved users are pre-authorized policy, and admins can't do it for the user, even with Login As. See Fix "Authorize App" for new users.
  4. If the user is in a Trailhead Playground and sees "There is an error rendering Canvas application", they need a password. See Fix the Canvas rendering error.
  5. If the user sees DME-AUTH-001, they should refresh the page or log in again, and use one Salesforce org per browser profile.
  6. If the user sees DME-SF-004, they can't read a record or field the document needs. Check object, field and sharing access.
  7. If a step such as preview or authorization doesn't open, check the browser. Docs Made Easy works in all major browsers (Edge, Chrome, Safari and Firefox), but a pop-up blocker or blocked third-party cookies can stop some steps.

Where the button works

The button works in the Salesforce mobile app, Console apps, Salesforce Classic and on Experience Cloud sites. On Experience Cloud sites, assign the appropriate licenses to the site users so they can generate documents. Guest users are supported. See Experience Cloud setup.

Who can fix it

CauseWho
Clicking Authorize App, refreshing the sessionThe user
Page layouts, Lightning record pages, licenses, permission sets, sharingYour Salesforce administrator
Button still fails with all of the above in placeDocs Made Easy support

Still stuck?

Contact support and send:

  • your Salesforce Org ID (How to share your Org ID)
  • the button or solution name, and the object it's on
  • the affected user's profile, and whether the user has both licenses and the permission set
  • a link to a record where the button is missing or fails, and whether you use the desktop browser, the mobile app or a Console app
  • the time it happened, with your time zone, and the full error message, including the Error code and Reference