function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gaurav RajGaurav Raj 

Fetching A Document(PDF) link in my trigger

Hi,

 

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?

Damien_Damien_
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)