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
DavidGenDavidGen 

override "new" button on home tab

Hello, I am creating an VF for override "new" button of an custom object's home tab.

 I am trying to create a menu selection to control fields values ​​of the new page. 

After some operations, I need return to  standard "New" Page. For this,  I  make  a pagereference to new's url (Pagereference ('/a0G/e?retURL=/a0G/'))

But "new" button was overriding with this VF, so I can not use. How Can I resolve this?
Thanks in advance.
Best Answer chosen by Admin (Salesforce Developers) 
SteveBowerSteveBower

try:    /a0G/e?nooverride=1

 

Best, Steve.