Drawloop - Track DocGen Package Usage and Data in Salesforce

  • 15 February 2022
  • 0 replies
  • 478 views

Userlevel 3
Badge +8

Topic

How to Track DocGen Package Usage and Data in Salesforce by creating Salesforce records after each generation.
**Note: You may request a Usage Report from your Account Manager. If it does not contain the specific data you are looking for, this will allow you to create your own records of each generation in salesforce and then run a Salesforce Report for internal tracking purposes.

 

Instructions

Note: In this example, the {Account} object is the starting object.

1. Create a new custom object {DocGen Package Usage}. On this object create 2 lookup relationships.
              Relationships:
              1. From {DocGen Package Usage} to the {Account} object
              2. From {DocGen Package Usage} to the {DocGen Package} object

8536i83730FFF8CD6FACB.png
8537iCBE987AADABBBB91.png

2. On the {Account} object configure the fields you want to display in the related list “DocGen Package Usage” view.  (DocGen Package Name, Date and Time, Created By, etc…)

Customize Related List - Salesforce

              1. Navigate to the Salesforce Setup.
              2. Select the {Account} object from the Object Manager.
              3. Select Page Layouts.
              4. Navigate to the Related List Properties.
              5. Add the desired fields.

8538i2B6DB62D2EF421B9.png

3. In the DocGen Package create an Insert Update with the 2 required Field-Value Pairs:
              1. Account = <<Account_Id>>
              2. Document Package = DocGen Package Record Id.
                   - This can be retrieved from the URL, Developer Console, or the DocGen MetaData Tab (LEDD)
              3. Add additional fields to capture more details from the document generation.
 Note: The DocGen Package Record Id will need to be updated if migrated from a Sandbox

8539i43C610C9490D4568.png
8540i434F019E3AB5EA02.png

4. The configuration is complete. Run the DocGen Package from a(n) {Account} record and an Insert Update will create a record in the DocGen Package Usage related list.

8541iA2D6D8F7F41ACE67.png

5. When DocGen runs are successful, a Usage record will be created for Salesforce reporting.
 

 


0 replies

Be the first to reply!

Reply