You are here:
Step Properties for the fndmultiDocxLwc Omniscript
The fndmultiDocxLwc Omniscript contains of steps, which run sequentially when you invoke the Omniscript. Each step has properties that determine the action that the step performs. If you want to change the steps, Salesforce recommends that you either create a version or clone and rename a copy of the fndMultiDocxLwc Omniscript.
Omniscript Step | Properties |
|---|---|
Script Configuration |
Fields are preset.
|
Enter Object |
|
Get Document Templates |
Retrieves all active .docx or .pptx document templates (JSON Based) by using the DocGenSample-ExtractDocumentTemplatesLWC Omnistudio Data Mapper Interface. |
Pick Template |
Captures multiple IDs of the templates in the DocumentTemplate selectable list by using the clmSelectableItems LWC component. |
Set Values |
Sets the required variables for document generation.
|
Arrange Selected Template |
Reorders the document templates that you select in the PickTemplate(s) step. It uses the clmOsArrangeSelectedTemplateList LWC component, which uses Javascript to invoke Apex classes. When generating the document, you can select the templates that use their own DR Extract. |
GenerationOptions |
|
Set Generation Options |
The system maps the values that you defined in the Generation Options step to the corresponding variables. The step selects the |
Generate Document |
Generates the document with the option to send an email with the generated document attached. The generation process uses the clmOsMultiDocxGenerateDocument LWC component , which uses JavaScript to invoke Apex classes for document generation. |
GenerateMergeDocument |
Combines multiple .pdf documents into a single .pdf document. The merge process uses the clmOsGeneratePdfMergeDocument LWC component. |

