HomeGuidesRecipesAPI
HomeGuidesAPILog In

Draft Editor

The Draft Editor feature is a browser embedded, on-demand template editor which can be used to see what documents generated using the current template will look like. This enables you to see exactly what your end users will see when editing a draft document.

Prerequisites

To be able to use the Draft Editor feature, make sure the following have been done:

  1. Set up the SmartCOMM configuration settings in Manage.
930
  1. Ensure that the SmartCOMM Data Model, Project and Resource have been configured in the SmartCOMM environment as per the previous step.

Draft Editor Question

The Draft Editor Question is a browser embedded-on demand template editor, wherein the fields and content within the template editor are pre-populated from preceding questions and can be further customized within the editor. The result can be forwarded for approval and other workflow processes.

Once the form has been completed and the Draft Editor Question is loaded, the user will need to restart rather than go back to modify the preceding question data and have it re-populate the editor.

📘

SmartCOMM Action

For more information on SmartCOMM action, refer to this page.

  1. In Design, create your form and add the Data Model template and placeholders.
899
  1. Drag and drop a Draft Editor question to a new page.

  2. Set the draft editor properties as described in the following table:

921
InputDescription
Data ModelThe selected Data Modal Templates with the placeholders that will be used to collect data from the form and sent to SmartCOMM for further processing.
ProjectSelect the name of the SmartCOMM project that contains the data model and template selector.
ResourceThe SmartCOMM template selector that will be used to generate the required document.
QueueIf a value has been selected from the drop-down list of available job queues, SmartIQ will call the SmartCOMM SubmitJob Asynchronous API and no document will be generated or returned to SmartIQ.
  1. Drag and Drop any placeholders from the data model onto the question set.

  2. Save and publish your form.

  3. When the end user reaches the draft editor question it will appear prepopulated with the data model and placeholders from step 4.

827
  1. Click Submit to generate the file. The document binaries output from the draft editor will be available for download.