0
我有2個用戶。我需要將信封發送給用戶1進行簽名。用戶1簽署文檔後,用戶2需要獲取信封簽署文檔。DocuSign for Salesforce.com
我在自定義對象上編寫了一個自定義按鈕,我在其中傳遞信封ID並傳遞信封將與路由訂戶一起發送給的用戶,但信封由兩個用戶接收。我無法找到合適的文件來幫助我解決問題。一塊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='';
//*************************************************//
//DocuSign Template
var DST='';
//Adding Notes & Attachments
var LA='1';
//Custom Recipient List
var CRL='[email protected];FirstName~user;LastName~1;Role~Signer 1;RoutingOrder~1,[email protected];LastName~user2;Role~Signer 2;RoutingOrder~2,LoadDefaultContacts~1';
//Custom Contact Role Map
var CCRM='Signer 1~Signer 1;Signer 2~Signer 2';
//Custom Contact Type Map
var CCTM='Signer 1~Signer 1;Signer 2~Signer 2';
//Custom Email Subject
var CES='{!CustomObject__c.Id} - Please eSign Vocus Sales Agreement';
//Custom Email Message
var CEM='I am sending you this request for your electronic signature, please review and electronically sign by following the link below.';
//Custom Envelop from Docusign
var DST = '00000000-33F0-4A8C-A8B2-00000000000';
//********* Page Callout (Do not modify) *********//
window.location.href ="/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!CustomObject__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;
//*******************************************//
請讓我知道我錯過了什麼。
在此先感謝您的幫助。