You are here:
Omnistudio Server-Side Document Generation Omniscript
The customizable sample fndSingleDocxServersideLwc Omniscript generates server-side documents from your Microsoft Word DOCX or Microsoft PowerPoint PPTX templates. You enter the Object ID, pick a template, select generation options, and generate the document.
You can use the sample fndSingleDocxServersideLwc Omniscript to test server-side document generation and explore its capabilities. Many organziations choose to customize this Omniscript to meet their needs.
Refer to these resources to plan your customizations:
- Step Properties for the Server-Side Omniscript
The fndSingleDocxServersideLwc Omniscript consists of steps, which run sequentially when the Omniscript is invoked. Each step has properties that determine the action the step performs. If you want to change the steps, Salesforce recommends that you either create a new version or clone a copy of this Omniscript. - The JobId and the Document Generation Process Record Page
If the Omniscript completed with a JobId but no document was generated, you can use the JobId to view the Document Generation Process record page and troubleshoot the problem.

