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
KunlunKunlun 

Is it possible to create a button with same function as "Save" on edit page

Hi

 

Currently after we click the "Save" button in opportunity edit page, the oppty will be saved and redirect to oppty list view page.

I want to create a button in the same page. when I click it, the opportunity will be saved and redirect to Account or other page.

 

Is it possible?

 

Thanks

Kunlun

Brookesy--Brookesy--

Unsure if you can do this purely using the Buttons and Links section under Opportunities. It is possible to setup a retURL in that section, but i dont think you can replicate the Save. You could use a small apex class to do this for you though.

 

Someone might be able to help you with this better then I can! :)

 

Mike