We utilize DocuSign for electronic signature of our financial agreements.
We added the External Resource of /apex/dsfs__DocuSign_JavaScript.
We created an in-line snippet with the code below and created a button with the action of Run Skuid Snippet and related it to the created snippet.
Each time I select the button from the preview it throws an error that the ID is not set correctly “SourceID={{Financial__c.Id}}”
Has anyone successfully added a custom Send With DocuSign button to their Skuid page?
Any suggestions on how to properly merge fields into this code?
The snippet code is listed below.
//********* Option Declarations (Do not modify )// var RC = ‘’;var RSL=‘’;var RSRO=‘’;var RROS=‘’;var CCRM=‘’;var CCTM=‘’;var CCNM=‘’;var CRCL=‘’; var CRL=‘’;var OCO=‘’;var DST=‘’;var LA=‘’;var CEM=‘’;var CES=‘’;var STB=‘1’;var SSB=‘1’;var SES=‘’;var SEM=‘’;var SRS=‘’;var SCS =‘’;var RES=‘’;
////
var CEM=“This is the Email Body.”;
var CES='This is the Email Subject;
var DST = ‘FC718430-C654-49B9-A3CF-92ADC1BCAF28’;
var CRL = ‘FirstName~{{Financial__cForm_Signer_First_Name__c}};LastName~{{Financial__cForm_Signer_Last_Name__c}};Email~{{Financial__cForm_Signer_Email__c}};Role~Customer;RoutingOrder~1’;
// Page Callout (Do not modify) //
window.location.href =“/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={{Financial__c.Id}}&RC=”+RC+“&RSL=”+RSL+“&RSRO=”+RSRO+“&RROS=”+RROS+“&CCRM=”+CCRM+“&CCTM=”+CCTM+“&CRCL=”+CRCL+“&CRL=”+CRL+“&OCO=”+OCO+“&DST=”+DST+“&CCNM=”+CCNM+“&LA=”+LA+“&CEM=”+CEM+“&CES=”+CES+“&SRS=”+SRS+“&STB=”+STB+“&SSB=”+SSB+“&SES=”+SES+“&SEM=”+SEM+“&SRS=”+SRS+“&SCS=”+SCS+“&RES=”+RES;
//***//
Question
DocuSign Custom Button
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

