Loading
Feature degradation | Gmail Email delivery failureRead More
Set Up and Maintain Net Zero Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Disclosure Document Generation

          Set Up Disclosure Document Generation

          Use Omnistudio Document Generation to generate disclosures using the client-side or server-side Omniscripts.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions
          Permission Set Needed
          To develop document template:

          Omnistudio Admin

          AND

          DocGen Designer

          To use Omnistudio Document Generation with Disclosure and Compliance Hub, see Post-Install Steps for Foundation Document Generation.

          A document template defines the structure, content, and format of generated disclosure documents. You can generate documents based on a document template as part of an Omniscript-based guided interaction flow. Make sure that tokens you use in the Microsoft Word or Microsoft PowerPoint document template are for the assessment objects, such as Assessment Question and Assessment Question Response. During document generation, tokens are replaced with actual data in the generated document.

          Note
          Note When creating disclosure report templates with Google Docs, you can’t configure data mappers to transform data.

          Here's an image that shows a sample document template with tokens for assessment objects.

          Sample document template

          For more information, see Foundation Document Templates.

          Retrieve a Document Template Global Key

          Use the sample code to get the global key for the document template that you created.

          Required Editions

          User Permissions Needed
          To run a query in the developer console: View All Data
          1. From the Setup menu, select Developer Console.
          2. Click Query Editor and enter this query.
            SELECT Id, IsActive, Name, Type, VersionNumber, GlobalKey from DocumentTemplate WHERE IsActive = true
          3. Click Execute.
           
          Loading
          Salesforce Help | Article