-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform
By :

If your application needs to produce printable documents, OmniStudio has you covered. You can create PDF, Word, and PowerPoint documents in your OmniScripts based on the pre-defined templates. While different options are available, many implementations use DataRaptor Transform to map the values in the OmniScript JSON to the fields in the document template. The common practice is then to insert the document generation LWC into your OmniScript step. The LWC will then generate and attach Word and PDF versions of the document to the Salesforce Object of your choice:
Figure 10.27 – An overview of the client-side document generation LWC on a sample OmniScript step
Note
For more information on OmniStudio document generation, refer to its documentation page at https://help.salesforce.com/s/articleView?id=ind.doc_gen_foundation_document_generation_overview_389381.htm.
While this setup fits perfectly to most document generation...
Change the font size
Change margin width
Change background colour