Loading
Omnistudio Document Generation
Table des matières
Sélectionner des filtres

          Aucun résultat
          Aucun résultat
          Voici quelques conseils de recherche

          Vérifiez l'orthographe de vos mots-clés.
          Utilisez des termes de recherche plus généraux.
          Sélectionnez moins de filtres pour élargir votre recherche.

          Recherchez dans toute l’aide de Salesforce
          Using the fndmultiDocxLwc Omniscript

          Using the fndmultiDocxLwc Omniscript

          You can use fndmultiDocxLwc Omniscript to generate documents from more than one document template at a time. The fndmultiDocxLwc Omniscript supports both Microsoft Word and Microsoft PowerPoint templates.

          Here's an example workflow of a sales rep using this Omniscript from a custom button:

          1. Enter Object ID.

            Make a selection for these fields:

            ObjectId: ID of the Salesforce Object from which the system retrieves data for the document.

            Template Type: Microsoft Word (.docx) or Microsoft PowerPoint (.pptx) document template

            On this window you need to enter the ObjectID and template type.
          2. Pick template(s).

            You can select more than one document template, but ensure that you select at least one template. Also, you can search for document templates in the Search field.

            On the pick a template window select the templates that you want to use for document generation.
          3. Arrange templates.

            To change the order of the templates, drag them. Also, select the templates that use their Omnistudio Data Mapper data. If you select the UseDRData checkbox, data comes from the template's Data Mapper. If you deselect the UseDRData checkbox, you provide data extracted within the Omniscript to the template. The SetValues Omniscript property stores the data within the Element Name and Value fields.

            You can define the element values based on the tokens of the document template. For example, if the token is contractterm, then click Add New Element Value, enter the value of the Element Name as contractterm, and then enter the contract term value (months) in the Value field. Save your changes.

            You can drag lines to rearrange the order of the document templates, this changes the order in which the documents are generated.
          4. Generation Options

            Optional: Select the required options to download, attach, generate documents, and generate the .pdf file. The system shows the respective default values in the fields. If you don't want to use those values, select the --clear-- option.

            Note
            Note

            Create different document titles for the .docx or .pptx documents that you want to generate by using commas to separate the document titles. Document Title is a mandatory field in Document Generation 2.0.

            On the Generations Options window, you can select the options to download, attach, generate documents, and generate the .pdf file.
          5. Generate Document

            After you generate the document, you can merge your multiple documents into a single .pdf document. If you selected only one template, the system doesn't show this option.

            Using the Merge PDF Documents button you can merge your multiple documents into one PDF document.
          6. Generate Merge Document

            Download the merged .pdf file after the Omniscript generates it.

            Note
            Note

            The size limit for final document after merging all generated documents is 10 MB.

            Output of the generated document.
           
          Chargement
          Salesforce Help | Article