Skip to main content
Participant
Jun 5, 2020 2:19 PM UTC
Question

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

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?

5 replies

salesforcea88228021
Participant
Jul 21, 2020 9:16 PM UTC

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. 

Translate
salesforcea88228021
Participant
Jul 22, 2020 8:01 PM UTC

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!

Translate
Participant
Apr 2, 2021 11:05 AM UTC

its worked for me

Translate