javascript - Using CRL parameter in DocuSign Button -
I have a custom button that I am creating, except for recipient mapping, everything is fully functioning in the button. Whenever I try to make an envelope, it only pulls a carbon copy into the primary contact, but it does not pull into the signer. Is there anything I'm missing?
// CRL = 'email ~ {Opportunity.AP_Contact_Email__c!} On the custom recipient list; FirstName ~ {Opportunity.AP_Contact_First_Name__c!}; Last name ~ {Opportunity.AP_Contact_Last_Name__c!}; Role ~ A; RoutingOrder ~ 1; Email ~ '+ primaryContact.Email +'; FirstName ~ 'Primary contact. First name + '; Last name ~ 'primary contact. Unknown + '; Role ~ b, routing order ~ 2 '; // Custom contact roll map bar CCRM = 'A' signer 1; B ~ carbon copy '; // Custom contact type map var CCTM = 'A ~ signer; B ~ carbon copy ';
To separate two recipients, you need to move to a coma. The recipient has only a routing order (the recipients separated by commas while the recipient regions are delimiting semi-colon.)
For example:
// Custom receiver CRL = 'email' on the list {opportunity !. AP_Contact_Email__c}; FirstName ~ {Opportunity.AP_Contact_First_Name__c} ;! Last name ~ {Opportunity.AP_Contact_Last_Name__c}; Role ~ A; RoutingOrder ~ 1, email ~ '+ primaryContact.Email +'; FirstName ~ '+ primaryContact.FirstName +'; Last name ~ 'primary contact. Unknown + '; Roll ~ b; Routing order ~ 2 '; // Custom contact roll map bar CCRM = 'A' signer 1; B ~ carbon copy '; // Custom contact type map var CCTM = 'A ~ signer; B ~ carbon copy ';
Cheers, Jeff
Comments
Post a Comment