function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pgonzaleznetworkpgonzaleznetwork 

Custom link edit and save

Hi Team,

 

I created this custom link which basically puts the lead into edit mode and populates SQL on the company name.

 

/{!Lead.Id}/e?lea3=SQL&retURL=%2F{!Lead.Id}

 

Is there any way I can configure it so that when I click on it, it edits the lead and saves it automatically.

 

Currently, I need to click the Save button.

 

Thanks!

kevin lamkevin lam

/{!Lead.Id}/e?lea3=SQL&save=x&retURL=%2F{!Lead.Id}

pgonzaleznetworkpgonzaleznetwork

Hi,

 

Thanks but that didn't work. I get the following error message:

 

Error: Invalid Data. 
Review all error messages below to correct your data.
The page you submitted was invalid for your session. Please click Save again to confirm your change.

 

I looked into this and it seems Im not the only one experiencing the same issue. Furthermore, it seems to happen only on certain orgs. The only workaround is to use VF or Ajax which I still don't know how to use so...

 

Seems like I'm stuck here.

 

Thanks for your help.