Drawloop - Pass Dynamic Record Id to Visualforce Page Template

  • 15 February 2022
  • 0 replies
  • 449 views

Userlevel 2
Badge +9

Topic

How to pass dynamic Record Id to Visualforce Page Template in Drawloop DocGen.

 

Instructions

1. Add the DocGen Package Template related list to the Page Layouts:

  1. Navigate to Salesforce Setup
  2. Select the DocGen Package object
  3. Select Page Layouts
  4. Select Related Lists
  5. Add DocGen Package Templates
  6. Save

21410i0544E3C6C4B060EA.png

 

2. Add the Vf Parameters field to the DocGen Package Template layout:

  1. Navigate to Salesforce Setup
  2. Select the DocGen Package Templates object
  3. Select Page Layouts
  4. Select the  Vf Parameters field  and add it to the layout
  5. Save

21411iD3B215CEF2A960FC.png

 

3. Adding parameters to Vf Parameters field:

  1. Navigate to the DocGen Package in Classic Experience
  2. Select the Visualforce Template from the related list.
  3. Add the id parameter and the desired field tag to pass to the Visualforce Page
    1. example: id=<<Opportunity_Id>>
  4. Save 

21412iD0FB573997EA7F03.png

 

4. Run DocGen Package and confirm data populates based on correct record id.

Additional Information

This parameter is not shown in the LEDD interface at this time. Please follow the above information until this feature is deployed.

 

Related Links


0 replies

Be the first to reply!

Reply