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
Jimmy_YangJimmy_Yang 

How to access the builtin 'new' page after i override the new button

Hi guys,

     I've got a demand that need to override the 'new' button of 'Account' with a visualforce page, but i need to access the original builtin 'new' page through the controller extension. what am i gonna do to complish this requirement?

 

     Thanks in advance for your reply!

Edwin VijayEdwin Vijay

Just click on standard "New" button... Notice the URL...

 

For me when i clicked the new button in Account the url was ap1.salesforce.com/001/e

 

 

So, /001 represents Account and /001/e represents new page in Account

 

 

Hope it helps....

 

wesnoltewesnolte

Hey

 

When you say access what do you mean? You have a way to get overridden pages using URLFOR(https://na6.salesforce.com/help/doc/user_ed.jsp?section=help&target=customize_functions.htm&loc=help&hash=URLFOR) but I'm not sure of an apex way to do this.

 

Wes