You need to sign in to do that
Don't have an account?
Mak One
Unable to use tabStyle if user is not having permission on that Tab
As I need coloring and styles of Case Tab to be in a Visualforce Page I am using tabStyle. Requirement is that when that page is loaded Home Tab should be selected (Not Case Tab). So I have used below pageBlock which is working:
<apex:pageBlock tabStyle="Case">
Now the problem is that if the user is not having access to Case Tab. The Page will throw an error mentioning user does not have permission to access Case Tab.
What can be the solution or workaround for this?
Can I somehow make Visualforce page to display this pageBlock without taking user permissions into consideration?
<apex:pageBlock tabStyle="Case">
Now the problem is that if the user is not having access to Case Tab. The Page will throw an error mentioning user does not have permission to access Case Tab.
What can be the solution or workaround for this?
Can I somehow make Visualforce page to display this pageBlock without taking user permissions into consideration?
Why don't you create your own tabstyle from tab create wizard by coping case style color and also capturing the image if you want.