You need to sign in to do that
Don't have an account?
Katherine Rowe
URL when using visual force page
Can we control the URL when using a visual force page? Disclaimer, don't know much about visual force myself. I'd settle for a yes or no, but if it's easy change maybe you can outline how it would be done.
For example, we have a visual force page for our opportunities. The first thing it's doing that I don't like, is its using the 18 character ID instead of the 15. Can we change it to use the 15 character ID? The second thing it's doing that I don't like, is its appending this thing at the end "?nooveride=1". Can we get rid of that? I guess what I'm saying is I want the URL to look exactly like it does for opportunities without visual force.
Current URL with visual force page:
If I erase the last 3 characters of the ID and everything after it, the link still takes me to the opportunity, so I guess those things aren't really necessary? Then it's just a matter of is there a way to remove them?
For example, we have a visual force page for our opportunities. The first thing it's doing that I don't like, is its using the 18 character ID instead of the 15. Can we change it to use the 15 character ID? The second thing it's doing that I don't like, is its appending this thing at the end "?nooveride=1". Can we get rid of that? I guess what I'm saying is I want the URL to look exactly like it does for opportunities without visual force.
Current URL with visual force page:
https://intergraph.my.salesforce.com/0065700000misnKAAQ?nooverride=1
If I erase the last 3 characters of the ID and everything after it, the link still takes me to the opportunity, so I guess those things aren't really necessary? Then it's just a matter of is there a way to remove them?
https://intergraph.my.salesforce.com/0065700000misnK
If you have overriden a standard action with a Visualforce page, but you want to view the standard page you can write the URL using the [nooverride=1] parameter like this:
Action Overriden Sample URL to be used
New Record https://cs0.salesforce.com/001/e?nooverride=1
Edit Record https://cs0.salesforce.com/001R000000AWF6W/e?nooverride=1
Record Tab https://cs0.salesforce.com/001/0?nooverride=1
If you are a Visualforce page where you need to have the original page show, you can use the URLFOR() function.
Also you can go through the below links:
http://help.skuidify.com/m/page-assignments-and-overrides/l/102550-how-do-i-get-back-to-a-standard-salesforce-layout-when-i-ve-already-overridden-it
http://eltoro.force.com/HowToShowTheStandardPageForAnOverridenPage
https://developer.salesforce.com/forums/?id=906F00000008oO0IAI
Pelase do let me know if it helps you.
Regards,
Mahesh