This Article covers how to edit the web address within a web browser in order to override Visualforce pages and expose Custom Buttons or Hidden Fields.
improveit 360 utilizes custom Visualforce Pages to display and interact with Fields from multiple objects on one page. For example: when Editing a Sale, the custom Visualforce page displays (and allows Edit acces on) Fields from the Sale object, as well as Fields from the Commissions object, and the Sale Items object.
Keep in mind, if you are overriding a Visualforce page which displays Fields from multiple Objects, the native Salesforce View and Edit pages will only display Fields from the primary Object (in this example, the Sale object).
Option 1: Expose Hidden Fields
Override the Visualforce page with the native Salesforce Edit page
Watch this 3-min video or follow along below:
Navigate to a record, you'll need to alter the URL to override Visualforce.
Step 1: You will remove the highlighted text from the URL (everything after .com/ up to the unique Record ID):
Step 2: Next you will remove the highlighted text from the URL (everything AFTER the unique Record ID):
At this point, the URL will look something like this:
Step 3: Now, you'll type after the unique Record ID the following text: /e?nooverride=1
Making the new URL look like this:
Click Enter, which will load the native Salesforce Edit page:
Option 2: Expose Custom Buttons
Override the Visualforce page with the native Salesforce View page
Navigate to a record and click Edit. Next, you'll need to alter the URL to override Visualforce.
Step 1: You will remove the highlighted text from the URL (everything after .com/ up to the unique Record ID):
Step 2: Next you will remove the highlighted text from the URL (everything AFTER the unique Record ID):
At this point, the URL will look something like this:
Step 3: Now, you'll type after the unique Record ID the following text: ?nooverride=1
Making the new URL look like this:
Click Enter and the native Salesforce View page will load. Here you should see any Custom Buttons that have been added to the Page Layout:
That's it!
To summarize, here are the two extensions:
Override Visualforce page with Salesforce native View page:
/record id?nooverride=1
Override Visualforce page with Salesforce native Edit page:
/record id/e?nooverride=1