Salesforce sending adobe sign agreements from apex.
Steps followed:
1. Installed adobe sign app(from app exchange) in salesforce.
2. Created adobe trial account and linked that account in salesforce.
3. Created aggrement template with contact as master object and had set the runtime variable as "myRecipient".
https://helpx.adobe.com/sign/using/salesforce-integration-developer-guide.html
As per the above documentation I am trying to load the aggrement inorder to send the same to the dynamic receipent.
Documentation says :
static Id load(String templateId, String masterId, Map<String,AgreementTemplateVariable> agreementTemplateVariables)
templateId = Aggrement template record Id;
masterId = As per my logic I am passing the contact record ID
agreementTemplateVariables = This map am not sure how to frame.
I do know thatAgreementTemplateVariable works as name,value pair.
myRecipient = xxx@gmail.com;
Working code snippet:
echosign_dev1.AgreementTemplateService.load('templateID','MasterRecordID', ?????);
Please do let me know what I am missing.
Thank you inadvance !!
