I have the following custom code that I am placing on the Opportunity object. I want to click this custom Send With DocuSign button and have it load the most recent's quote's attachments. My code is unfortunately not working. Is there something I am missing and need to add?
{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")}
var rc = GetRelContentIDs("{!Opportunity.Id}");
var RQD = DSGetPageIDFromHref();
var LA = 1;
window.location.href = "/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Opportunity.Id}&RQD="+RQD+"&LA="+LA+"&RC="+rc;