The directemailpreview parameter skips the Composer page and opens the email preview screen directly. Use it when users only need to review the generated document and send it by email, with no extra navigation.

Syntax

As an Other Parameter on the solution's Assign Behaviors page:

Parameter Name:  directemailpreview
Parameter Value: 1

In the solution button's URL (Docs Made Easy adds each Other Parameter to the button URL for you; see Parameters explained):

&directemailpreview=1

Values

ValueEffect
1Skips the Composer page and opens the Send Email screen with the generated document attached.

Where to add it

  1. On your solution's Assign Behaviors page, click Other Parameter in the sidebar, then click Add Other Parameter.

  2. Enter directemailpreview in Parameter Name and 1 in Parameter Value, then click Save.

    Add Other Parameter window with directemailpreview as the name and 1 as the value

Example

  • Input: a user clicks the solution button on a record.
  • Parameter: directemailpreview=1.
  • Output: the Composer page is skipped and the Send Email screen opens with the recipient, subject, email body and the generated document already attached. The user reviews it and sends.

Send Email screen with recipient, subject, attached document and email body

Works in

directemailpreview is set on the solution, not written in a template, and changes which screen opens after generation.

Combine with

  • Don't combine with Background Mode (bgm). Background mode bypasses all interactive screens, including the email preview.
  • To send without showing the preview, use directemailsender instead.
  • To open the merge preview of the document directly instead of the email preview, use the enablePreview parameter. It also skips the Composer page.

Common errors