hosted signature (in-person signature) Not working with Agreement Template
Hi all,
I am new to Abobe Sign. I have a scenario to do In-person Signature from a button click of a record page, with attachment and recepients are runtime variables.

I am using Onload Action to generate Agrement.
Here is my Apex code to generate Agrement.
PageReference newPage = null;
System.debug('onloadAction.....'+currentSRF.Email__c);
newPage = new PageReference('/apex/echosign_dev1__AgreementTemplateProcess');
newPage.getParameters().put('recepient1', currentSRF.Email__c );
newPage.getParameters().put('myAttachment',attachmentId);
newPage.getParameters().put('masterid', currentSRF.Id);
newPage.getParameters().put('templateId', 'a5E05000000CpHJ');
newPage.getParameters().put('retURL', '/'+parentObjectId);
newPage.getParameters().put('onloadAction', 'Send');
return newPage;
After excecuting this code. Agrement is generating, but in draft mode, and redirecting redirecting to the retURL Page. I Want to redirect the page where recepint can preview and sign the agreement.
Is this Possible?? Can any one please help me to solve this issue?
Thanks in Advance.
