Loading
Feature degradation | Gmail Email delivery failureRead More
Vlocity Contract Lifecycle Management
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
          Create a Basic Omnistudio Data Mapper Extract and Data Mapper Transform in CLM

          Create a Basic Omnistudio Data Mapper Extract and Data Mapper Transform in CLM

          You can create a basic Omnistudio Data Mapper Extract and Data Mapper Transform to pull the information from a contract object into the Microsoft Document template.

          1. Create a Microsoft Word document with tokens. For more information, see Tokens in Microsoft Word or Microsoft PowerPoint Documents.

            Here's an example of a .docx document with tokens.

            Sample document with tokens.
          2. Create a Microsoft Word template. For more information, see Creating a Microsoft Word or Microsoft PowerPoint Template.
            1. From the Token Mapping Method, select Data Mapper.
            2. Enter a Mapping Data Mapper Bundle Name to transform tokens with actual data in the document.
            3. Enter a Data Extract Data Mapper Bundle Name to retrieve Salesforce data to be used in tokens.
          3. Click the icon next to the Data Extract Data Mapper Bundle Name field to open the Data Mapper Extract in a new browser tab.
            1. Create a Data Mapper Extract.
            2. On the Extract tab, click Add Extract Step.
            3. From the list of Salesforce objects, choose Contract.
            4. Set the Extract Output Path to Contract and the filter to Id = Id
            5. On the Output tab, click +.
              Using the Extract JSON Path field, map Salesforce object data with tokens in the document by using the Output JSON Path field.
            6. Set the Extract JSON Path to Contract:ContractNumber.
            7. Set the Output JSON Path to contractnumber.
            8. Map all the fields in the contract that you want to extract data from.
            9. Go to the Preview tab and then click Edit as Params.
            10. In the Input Parameters pane, click Add New Key/Value Pair.
            11. Set the Key to Id and the Value to a valid Salesforce Contract object Id.
            12. Click Execute.
            13. Verify that the Response pane displays a JSON structure containing the desired output.
              For example,
            14. Go to the Output tab, copy the Current JSON Output, and save to use it later in your Data Mapper Transform.
          4. Click the icon next to the Mapping Data Mapper Bundle Name field to open the Data Mapper Transform in a new tab.
            1. Create a Data Mapper Transform.
            2. In the Transform tab, paste the Current JSON Output code that you copied from the Data Mapper Extract in to the Input JSON panel.
            3. Click Quick Match.
              Notice the fields in the Input and Output Mappings columns. The fields in the Input Mappings column come from the JSON code you pasted into the Input JSON panel. The fields in the Output Mappings column come from the document template.
              The quick match window, with the Input Mappings column and the Output Mappings column.
            4. Click Auto Match to match the input and output fields.
              Make sure to drag fields from the Input column into the Output column if they don't get matched automatically.
              Map the Input column with the Output column.
            5. Click Save.
              The Transform tab is populated, notice the Input and Output JSON paths. The Input JSON path matches the output from the Data Mapper Extract. The Output JSON path matches the tokens in the document template.
              The Input JSON path matches the output from the Data Mapper Extract. The Output JSON path matches the tokens in the document template.
            6. Click Edit and change the Output Type to JSON, and then click Save.
          5. Verify that the Data Mappers pull the information from the Contract object and populates the document template.
            1. Go to the Document Template Designer, click Test Template.
            2. In the Object ID box, enter the ContractID and then click Next.
              The document is generated and the tokens are replaced with the contract details.
              The document is generated and the tokens are replaced with the contract details. You can download the generated document either in .docx, or .pdf format by using the Download Word, or Download PDF button, respectively.
           
          Loading
          Salesforce Help | Article