Skip to main content
Participant
June 5, 2020
Question

Getting "Invalid id: {!CFO_Survey_Recipients__c.Id}" Error Message sending Agreement, Salesforce

  • June 5, 2020
  • 1 reply
  • 8875 views

I have created a button called "Send Annual Controlled Self Assessment" on an object called CFO_Survey_Recipients__c in Salesforce. The Agreement Template has been created and is referenced in the button. The button code looks like this;

 

{!URLFOR('/apex/echosign_dev1__AgreementTemplateProcess?masterId={!CFO_Survey_Recipients__c.Id}&templateid=a6w7E0000008bLYQAY')}

 

When I click the button to fire the agreement, I get the following error every time "

Invalid id: {!CFO_Survey_Recipients__c.Id}". I have referenced the correct Salesforce ID in the button, and the Agreement Template references the correct object. Has anyone encountered this error message before?

1 reply

salesforcea88228021
Participant
July 21, 2020

Yes I have had a similar issue when using a "send provider application" button on the Lead object. Mine is for the {!Lead.Id}. It gives me the invalid error. It used to work fine before we updated the package, but now I can't seem to get it to work right. 

salesforcea88228021
Participant
July 22, 2020

Update: I talked with one of the Adobe Support admins and they gave me the correct formula:

 

{!URLFOR('/apex/echosign_dev1__AgreementTemplateProcess', null, [masterId = Object.Id, templateId='agreement ID'] )}

 

I hope that helps!

Participant
April 2, 2021

its worked for me