You need to sign in to do that
Don't have an account?
parkerAPT
How to redirect record views w/ URL (.salesforce.com/[RECORD_ID]) to custom Apex Page?
Is there a way to redirect or override the default record view for standard sObjects?
For example, if a user was visiting: cs1.salesforce.com/003S0000002Wagt, they normally see the Standard Contact view. This also works for any record type, it seems that the first 3 characters determine the type of sObject and appropriately display the view.
I have written a custom Apex page for the Contact view and would like to have this be the default view that everyone sees when navigating to the page for a specified Contact Record. I know that I can customize the page layout of the standard view but am having difficultly figuring out how to redirect to my custom page.
Ideally, for the above link, the user should be redirected to something like: salesforce.com/apex/CustomView?cid=003S0000002Wagt
Can someone point me in the right direction please?
Thanks
Parker
For example, if a user was visiting: cs1.salesforce.com/003S0000002Wagt, they normally see the Standard Contact view. This also works for any record type, it seems that the first 3 characters determine the type of sObject and appropriately display the view.
I have written a custom Apex page for the Contact view and would like to have this be the default view that everyone sees when navigating to the page for a specified Contact Record. I know that I can customize the page layout of the standard view but am having difficultly figuring out how to redirect to my custom page.
Ideally, for the above link, the user should be redirected to something like: salesforce.com/apex/CustomView?cid=003S0000002Wagt
Can someone point me in the right direction please?
Thanks
Parker
I had looked but couldn't find a good reference in the documentation. Looking back through the documentation, it looks like only in the Standard List controller is there any reference to overriding the standard buttons and links. I guess I didn't realized "Buttons and Links" included the ability to change the default "View" for each object.
Regardless, thanks for the tip and advice.
Another question:
It looks like you cannot override the default Activity History View just as you cannot create a Standard List Controller for ActivityHistory.
In order to redirect to my custom Activity History View, it looks like I have to override the "View All" button with a custom s-Control.
Is this indeed the case? If so, are there plans to expand the Standard List Controller to ActivityHistory?
Thanks
Parker
The overall goal is that you will be able to use Visualforce anywhere you can use s-controls today, so I think you're right about that as well.