+ Start a Discussion
Gaurav RajGaurav Raj 

Fetching A Document(PDF) link in my trigger



I am writing a trigger to show a document in a custom field when the status of the related document is  completed in the DocuSign Status object.

how to fetch the document's link in the custom field?

Off the top of my head... I would think that you can navigate to the Documents link manually and figure out what the URL is. Then basically in your trigger, you have that same URL, but replace the Id with the record you want the link to. (Make sure you use relative URLs when constructing it through code)