How to use 'onLoadAction' event in Salesforce to trigger different actions | Adobe Sign

Cập nhật gần đây nhất vào 27 thg 4, 2021

Solution

Salesforce can automatically trigger actions through the onLoadAction URL parameter supported by Adobe Sign for the Agreement button actions: Send, Remind, Delete, Cancel, Update, and View. The URL parameter respects the Toolbar Settings set by the administrator so that only the enabled parameters are available.

Example of different parameter in URLs with onLoadAction:

Send: Ensure that you have an agreement with status Draft in your account.
https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=send

Remind: Ensure that you have an agreement with status Out for Signature in your account.https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=remind

Delete: Ensure that you have an agreement with status Out for Signature in your account.https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=delete

Cancel: Ensure that you have an agreement with status Out for Signature in your account.https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=cancel

Update: Ensure that you have an agreement with status Out for Signature in your account.
https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=update

View:  Ensure that you have an agreement with status Draft, Out for Signature, Signed, or Canceled in your account.https://echosign-dev1.ap1.visual.force.com/apex/EchoSignAgreementAdvanced?id=[agreementID]&sfdc.override=1&onLoadAction=view

Additional information

The customers can use them in their triggers in Salesforce depending on their requirements.