Loading
Salesforce Document Generation
Indhold
Vælg filtre

          Ingen resultater
          Ingen resultater
          Her er nogle søgetips

          Kontroller stavemåden for dine søgeord.
          Brug mere generelle søgeudtryk.
          Vælg færre filtre for at gøre søgningen bredere.

          Søg efter alle i Hjælp til Salesforce
          Create a Context Service Transform Plug-In

          Create a Context Service Transform Plug-In

          Build hierarchies, group related records, or perform custom calculations by creating a custom Apex class that transforms token data before document generation.

          Required Editions

          Available in: Lightning Experience
          Available in: Professional, Enterprise, Unlimited, and Developer Editions
          User Permissions Needed
          To create a transform plug-in: DocGen Designer

          Before you begin:

          • Define and validate the context definition and mapping. See Context Service for Document Generation.
          • Understand the JSON structure of the token data returned by the context service.
          • Make sure that you’ve mapped all referenced attributes.
          1. Create an Apex class that implements ind_docgen_api.OpenInterface.
          2. For invokeMethod, route the the transformTokenData method name.
          3. Read the TokenData value from the input map.
          4. Transform the token data.
          5. Write the transformed TokenData value to the output map.
          6. Deploy your Apex class.

          Make sure that the document template uses the context service as the token mapping method. See Associate a Transform Plug-In with a Document Template.

           
          Indlæser
          Salesforce Help | Article