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
adi salesforceadi salesforce 

code to create vf page using standard controller with extension

code to create VF page with StandardController Account and insert the record into Account object using Extention
Abdul KhatriAbdul Khatri
Why you need a visualforce page, Is ther eany specific need for that?
johnseelewis42johnseelewis42
If you are looking to write a controlller extension, here is some info on that:  https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_extension.htm

If you want to use the page you are creating as the default, go into Buttons Links and Actions on the object and override the New with your page.  
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_tabs.htm
Abdul KhatriAbdul Khatri
What is the update on this? Could you explain the need?
adi salesforceadi salesforce
I would like know how we can insert a record using extension.