首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Docusign SFDC自定义按钮-错误

Docusign SFDC自定义按钮-错误
EN

Stack Overflow用户
提问于 2017-05-24 07:52:58
回答 1查看 55关注 0票数 0

我们希望创建一个自定义按钮,但是在遵循了示例文档之后,我们仍然可以在单击该按钮时看到。显示的错误消息:“意外的标识符”

这是一篇值得参考的文章。https://support.docusign.com/en/guides/dfs-admin-guide-sample-js-code-custom-buttons

我会附上我们的自定义代码供您审查。你能帮我找出这个问题吗?谢谢!

代码语言:javascript
复制
{!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=''; 
//*************************************************// 


var CRL="Email~{!Opportunity.Primary_Contact_Email__c};FirstName~{!Opportunity.Primary_Contact_First_Name__c};LastName~{!Opportunity.Primary_Contact_Last_Name__c};Title~{!Opportunity.Primary_Contact_Title__c};Role~Signer1;RoutingOrder~1;Email~jonathan@epigrowth.com;FirstName~Jonathan;LastName~Gav;Title~Consultant;Role~Signer2;RoutingOrder~2"; 


//var CCTM = 'Signer1~Signer;Signer2~Signer';// 

//var CCRM = 'Signer1~Signer1;Signer2~Signer2';// 

var LA = '0'; 

var CES='Sales documents from {!Opportunity.OwnerFullName} are ready to be signed.'; 

var CEM = "Here is the document that requires your signature. Signing electronically is our preferred option. Please click on the View Documents button below and you will be taken to the document, where you will see an option to sign.\\n\\nYou can also sign and fax back by pressing View Documents and select Sign On Paper. Please note that if you choose to fax, please only use the DocuSign provided cover sheet. \\n\\nPlease contact me with any questions.\\n\\nThank You\\n\\n{!Opportunity.OwnerFullName} \\n{!Opportunity.OwnerEmail} \\n{!Opportunity.OwnerPhone}"; 

//********* Page Callout (Do not modify) *********// 
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+"&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; 
//*******************************************//
EN

回答 1

Stack Overflow用户

发布于 2017-05-24 13:17:43

在CRL的末尾有一个额外的,

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44146786

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档