javascript - Docusign / Salesforce: Sending an envelope from a Salesforce custom object gives an error message 'no contacts on record' -


i want send envelope directly salesforce (custom) object without end user action required other hitting button 'send docusign'.

but on hitting button 'send docusign' error: 'there no contacts on salesforce record sending from. add 1 or more contacts record , try again'. , can go salesforce.

of course there no contacts defined on object in salesforce. object related account , contacts , there contacts stored.

why isn't working correctly? can me?

more info: when change 'var oco = "send";' 'var oco = "tag";' seems work. docusign page using correct template , salesforce database data filled out correctly. can't issue?

the other thing doesn't seem change recipients (list) defined in template recipients defined in 'var crl'. can cause of problem?

more info: var crl = "email~{!customobject__c.e_mail__c};lastname~signername;role~signer 2;email~me@home.com;lastname~myname;role~signer 1;loaddefaultcontacts~0";

//********* 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;

problem solved by: - removing prefilled email addresses template - not using var crcl , rcrm , instead using var crl fill email addresses - defining roles correctly , - replacing role ‘3rd party’ ‘contractparty’.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -