We just implemented DocuSign and created a few custom buttons based on their template that work great, however, we just realized this On-Click Javascript button will need to be manipulated in Skuid for it to work. I tried following another post on this, but cannot get the DocuSign button to function properly. Any chance someone can point me in the right direction? Any help would be much appreciated.
Here is an example of the template from DocuSign that currently works in Salesforce:
{!REQUIRESCRIPT(“/apex/dsfs__DocuSign_JavaScript”)}var sourceId =DSGetPageIDFromHref();var RQD=DSGetPageIDFromHref();window.location.href = window.location.href = “/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID=”+sourceId+“&RQD=”+RQD;
{!REQUIRESCRIPT(“/apex/dsfs__DocuSign_JavaScript”)}
//********* 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=‘’;var SSB=‘’;var SES=‘’;var SEM=‘’;var SRS=‘’;var SCS =‘’;var RES=‘’;
////
CRL = ‘Email~{!Independent_Contractors__c.Contact_Email__c};FirstName~{!Independent_Contractors__c.Contact_First_Name__c};LastName~{!Independent_Contractors__c.Contact_Last_Name__c}; Role~Signer 1;RoutingOrder~1’;
CES = ‘Custom Email Subject Here’;
CEM = “Hi {!Independent_Contractors__c.Contact_First_Name__c},\n\nCustom Email Body Here.\n\nThank you,\n\n{!User.Name}\n{!User.Title}\nCompany Name\nStreet\nCity, State ZipCode\nEmail: {!User.Email}\nPhone: {!User.Phone}”;
// Page Callout (Do not modify) //
window.location.href =“/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Independent_Contractors__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 in Skuid

This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.