|
DownloadFileFormat — The document type for download:
All (default), Microsoft Word, Microsoft
PowerPoint, PDF, or None.
AttachFileFormat — The document type for attachment:
Microsoft Word (default), Microsoft PowerPoint,
PDF, Word, PDF, PowerPoint,
PDF, or None.
DocumentViewer
— The preview format: PDF or None. A value of
None means you can't preview the
document.
DocumentTitle — Title for the generated
document. In Document Generation 2.0, this is a mandatory
field.
UseTemplateDRExtract — Specifies whether to
use the Data Mapper Extract associated with the selected template.
The
DocGenerationMechanism and
PdfGenerationSource are both read-only and set to
ClientSide. If you customize the Omniscript, you can make these
selectable.
Insert Space for Repeating Content Tokens —
Specifies whether the repeating content token's output is separated with spaces in a
generated document.
documentGenerationFontSource -
Specifies the source of the font used for rendering values during document
generation. Possible values include Rich Text Editor Font, Document Font. The
default value is Rich Text Editor Font. Rich Text Editor Font uses the font defined
in the rich text field data, while Document Font uses the font defined in the
document template.
Keep Intermediate — [Optional]
Specifies whether intermediate DOCX or PPTX files generated for PDF conversion are
retained. When both attachFileFormat and downloadFileFormat are set to pdf, setting
keep-intermediate=false triggers the system to delete the intermediate file after
conversion, reducing storage usage. Supports singleDocxLwc, singleWebLwc, and
multiDocxLwc OmniScripts through the LWCs ClmOsDocxGenerateDocument,
ClmOsWebGenerateDocument, and ClmOsMultiDocxGenerateDocument. By default,
keep-intermediate is set to true, maintaining existing behavior.
|