Loading
Omnistudio Document Generation
Innehållsförteckningar
Välj filter

          Inga resultat
          Inga resultat
          Här är några söktips

          Kontrollera stavningen av dina nyckelord.
          Använd mer allmänna söktermer.
          Välj färre filter för att utöka din sökning.

          Sök hela Salesforce-hjälpen
          Create a Microsoft Word or Microsoft PowerPoint Template for Omnistudio Document Generation

          Create a Microsoft Word or Microsoft PowerPoint Template for Omnistudio Document Generation

          Using Microsoft Word or Microsoft PowerPoint, create documents that contain formatted text, including tables of contents, tables, paragraphs, columns, and images. You can also include tokens, or variables, to merge data from a JSON source when you generate the document.

          To import the data, you can use a Omnistudio Data Mapper or create a custom class using multiple Data Mappers or queries to retrieve large amounts of data (for example, over 1,000 records).

          After you complete the document, you create a document template and drag the file into the document template designer. The Document Template object is a container to hold the .docx or .pptx file.

          If you include a table of contents in your Microsoft Word document, you can refresh the table of contents in the Microsoft Word file.

          To create a Microsoft Word or Microsoft PowerPoint document template:

          1. Create a document in Microsoft Word or Microsoft PowerPoint.

            To include tokens, see Tokens in Microsoft Word or Microsoft PowerPoint Documents.

            Note
            Note

            We recommend creating templates using Microsoft Word or Microsoft PowerPoint in a Windows environment.

          2. Using the App Launcher, go to Document Template Designer. Select DOCX or PPTX Template.
          3. Click New.
          4. Enter the Name.
          5. From the Template Type list, select Microsoft Word .DOCX Template or Microsoft PowerPoint .PPTX Template.
          6. The Token Mapping Method determines how the template's tokens are populated. Select one of the following:
            A Data Mapper can be associated with up to two document templates. When a second document template is created with the same Data Mapper, the system creates a versioned copy, for example {DMname}V1. However, attempting to use the same Data Mapper for a third template results in an error. To prevent this issue, make sure that each template has a unique Data Mapper.
          7. Select the Document Generation Mechanism. See Client-Side and Server-Side Document Generation Compared.
          8. Drag the .docx or .pptx file from your computer into the document template designer, or click Browse to find the .docx or .pptx file.
            Note
            Note

            Don't enable content control while designing a new .docx template.

          9. Click Save Template Details.

            After you activate the Document Template, you can’t delete the Microsoft Word or PowerPoint file associated with it.

           
          Laddar
          Salesforce Help | Article