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
BhmBhm 

how to create opportunity home page with functionality?

Hi,

i need a help from you, for creating Opportunity edit page with functionality means Save, save&new and cancel buttons.

so any one can please help me.

 

Thanks.............

JiahJiah

Do you want to override Opportunity standard edit page with some custom functionality?

BhmBhm
i dont want to override Opportunity standard edit page with some custom functionality, just by the apex coding i need to create a opportunity edit page and functionality with buttons save,save&new and cancel
JiahJiah

Create a standard controller vf page with required fields in it. may be using inputfield. In controller, create an instance of Opportunity. In method for save functionality, update the object using the instance created. For save and New, update and then redirect to same page for next insertion. For cancel you can use the standard save.