docusignapi - Docusign Custom Button Error: List has no rows for assignment to SObject -



docusignapi - Docusign Custom Button Error: List has no rows for assignment to SObject -

custom button code:

`{!requirescript("/apex/dsfs__docusign_javascript")} var rc = getrelcontentids("{!contact.id}"); var cctm = 'client~signer'; var crl='email~{!user.email};role~client;firstname~{!user.firstname};lastname~{!user.lastname};signnow~1'; window.location.href = "/apex/dsfs__docusign_createenvelope?dseid=961202fa-36c6-4a9a-b061-edc7be6c8b07&sourceid={!contact.id}&rc="+rc+"&cctm="+cctm+"&crl="+crl;`

visualforce error:

list has no rows assignment sobject error in look '{!createenveloperecord}' in component <apex:page> in page dsfs:docusign_createenvelope:(dsfs) unexpected error has occured. solution provider has been notified. (dsfs)

i have checked permissions suggested docusign , nil has changed.

any advice/help hugely appreciated!

thanks!

the script failing because docusign envelope id has been set 961202fa-36c6-4a9a-b061-edc7be6c8b07. dsied should set ‘0’ default. set dsied=0 , script should work:

{!requirescript("/apex/dsfs__docusign_javascript")} var rc = getrelcontentids("{!contact.id}"); var cctm = 'client~signer'; var crl='email~{!user.email};role~client;firstname~{!user.firstname};lastname~{!user.lastname};signnow~1'; window.location.href = "/apex/dsfs__docusign_createenvelope?dseid=0&sourceid={!contact.id}&rc="+rc+"&cctm="+cctm+"&crl="+crl;

docusignapi

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -