function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Darko TodorovskiDarko Todorovski 

Unexpected Token Illegal for DocuSign Send Button

Hi,

I am trying to configure a send with docusign button and this is where i am till now with the error that is shown in the subject.

Below is my code, please advise.
 

{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")}
var RQD = DSGetPageIDFromHref();
var SourceID = "{!Lead.Id}";
var CRL = "LoadDefaultContacts~0";
var LA = "0";
var RC = "";
window.location.href = "/apex/dsfs__DocuSign_
CreateEnvelope?DSEID=0&RQD="+RQD+"&SourceID="+SourceID+"&CRL="+CRL+"&LA="+L
A+"&RC="+RC;

Thanks,

Darko

Darshan Shah2Darshan Shah2
Hi Darko Todorovski,

Just try below thing:
- Copy all lines and paste to notepad.
- Remove line breaks.
- Copy notepad's line and paste back to script.

Kindly let me know whether it suffice your problem.

Warm Regards,
Darshan Shah
Darko TodorovskiDarko Todorovski

Hi Darshan,

Thanks for the reply, but unfortunetlly this doesn't work ether :(

Regards,

Darko

Darrell DeVeaux 7Darrell DeVeaux 7
I am having this problem as well. Im' also confused by the instructions "remove all line breaks". I get that in the href line but var declarations, etc that doesn't make sense. The instructions in the Docusign manual for this are confusing.