自定义收件人列表不会使用SFDC for Docusign中的自定义按钮填充

时间:2014-11-25 22:32:11

标签: salesforce docusignapi

我的按钮完全正常工作,但我的CRL不会填充,无法确定原因。

{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")} 
var RC="";var RSL="";var RSRO="";var RROS="";var CCRM="";var CCTM="";var CCNM="";var CRCL="";var     OCO="";var DST="";var LA="";var CEM="";var CES="";var STB="";var SSB="";var SES="";var SEM="";var SRS="";var SCS ="";var RES=""; 
RC=""; 
RSL="2"; 
RSRO=""; 
RROS=""; 
CCRM=""; 
CRL="LoadDefaultContacts~0;Email~matt.xxxx@powerreviews.com;FirstName~Matt;LastName~xxxx;Role~Signer 2;RoutingOrder~2";
CCTM=""; 
CCNM=""; 
CRCL=""; 
OCO=""; 
DST=""; 
LA="0"; 

CEM =“Hello {!dsfs__DocuSign_Envelope__c.dsfs__Contact2eSignDoc01__c} \ n我发送此电子签名请求,请通过以下链接查看并进行电子签名。\ n我们强烈建议您使用电子签名加快流程但是,如果您需要手动签名,请单击Docusign屏幕顶部的“更多”按钮并选择“在纸上签名”选项 - 并完成Docusign对话框中定义的过程。否则,可能延迟执行这个过程。\ n我们感谢您的合作。“;     CES =“PowerReviews请求eSign合同 - {!Account.Name}”;     STB = “1”;     SSB = “1”;     SES = “1”;     SEM = “1”;     SRS = “1”;     SCS = “1”;     RES = “1,2,2,1,15,3”;     window.location.href =“/ axx/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Opportunity.Id}&RC="+RC+"&RSL="+RSL+"&RSRO="+RSRO+"&复制权组织= “+复制权组织+” &安培; CCRM = “+ CCRM +” &安培; CCTM = “+ CCTM +” &安培; CRCL = “+ CRCL +” &安培; 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;

1 个答案:

答案 0 :(得分:1)

由于两个原因,CRL没有填充。首先,收件人列表应以逗号分隔,而不是分号。其次,在页面标注部分没有调用CRL。 我已修改脚本以提取自定义收件人列表。

{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")} 
var RC="";var RSL="";var RSRO="";var RROS="";var CCRM="";var CCTM="";var CCNM="";var CRCL="";var     OCO="";var DST="";var LA="";var CEM="";var CES="";var STB="";var SSB="";var SES="";var SEM="";var SRS="";var SCS ="";var RES=""; 
RC=""; 
RSL="2"; 
RSRO=""; 
RROS=""; 
CCRM=""; 
CRL="LoadDefaultContacts~0,Email~matt.xxxx@powerreviews.com;FirstName~Matt;LastName~xxxx;Role~Signer 2;RoutingOrder~2";
CCTM=""; 
CCNM=""; 
CRCL=""; 
OCO=""; 
DST=""; 
LA="0"; 
CEM="Hello {!dsfs__DocuSign_Envelope__c.dsfs__Contact2eSignDoc01__c}\nI am sending you this request for your electronic signature, please review and electronically sign by following the link below.\nWe highly recommend that you use the electronic signature to speed the process, however, if you do need to sign manually, please click the MORE button at the top of the Docusign screen and select the 'Sign on Paper' option - and complete the process as defined in the dialog box in Docusign. Otherwise, there may be delays in the execution of this process.\nWe appreciate your cooperation."; CES="PowerReviews Request to eSign Contracts - {!Account.Name}"; STB="1"; SSB="1"; SES="1"; SEM="1"; SRS="1"; SCS="1"; RES="1,2,2,1,15,3"; window.location.href = "/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Opportunity.Id}&RC="+RC+"&RSL="+RSL+"&RSRO="+RSRO+"&RROS="+RROS+"&CCRM="+CCRM+"&CCTM="+CCTM+"&CRCL="+CRCL+"&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+"&CRL="+CRL;