简体   繁体   中英

Docusign automatically select template and Recipient and send the document

We are planning to add docusign to our salesforce instance. we are currently analyzing to have a button on the detail page of Opportunity or any object on click of the button, selection of the template and recipient takes place automatically from the code and send the document. we don't want any middle page where user manually select the template and recipient. please let me know how can we achieve this in docusign app exchange.

this can be done by creating a Custom Button that provides such parameters to DocuSign. Specifically, you can specify signer information, a list of templates to use, and tell DocuSign that it should send the envelope without showing that editing page.

This section of the DocuSign for Salesforce Administrator Guide has all the details: https://www.docusign.com/support/salesforce/documentation/dfs-admin-guide/admin-guide/custom-buttons

The parameters you can look for are DST for DocuSign templates; CCRM, CCTM, and CRL for specifying recipients; and OCO for setting one-click options:

{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")} 

var DST='FBB2E4E8-A1B6-40C5-8B00-2AB31512DF04';
var CRL='Email~dfssigner@mailinator.com;LastName~Test Signer';
var OCO='Send';

window.location.href = "/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Opportunity.Id}&DST="+DST+"&CRL="+CRL+"&OCO="+OCO;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM