You need to sign in to do that
Don't have an account?
vfDeveloper.ax341
Custom Tabs metadata
Is that possible to retrieve metadata information about Tabs from apex code?
My use case:
-I have VisualForce Tab, wich is assigned to page.
-I need to redirect to that page from another page and highlight my tab at the same time.
I was able to investigate that for custom tabs highlight functionality is implemented via query string parameters.Something like that:
?sfdc.tabName=01r40000000Dw3m&sfdc.motif=Custom53
So i need to query metadata (sfdc.tabName,sfdc.motif) to build proper PageReference instance before redirection.
Any help would be nice, thank you in advance.
Message Edited by vfDeveloper on 07-16-2008 04:26 AM
My use case:
-I have VisualForce Tab, wich is assigned to page.
-I need to redirect to that page from another page and highlight my tab at the same time.
I was able to investigate that for custom tabs highlight functionality is implemented via query string parameters.Something like that:
?sfdc.tabName=01r40000000Dw3m&sfdc.motif=Custom53
So i need to query metadata (sfdc.tabName,sfdc.motif) to build proper PageReference instance before redirection.
Any help would be nice, thank you in advance.
Message Edited by vfDeveloper on 07-16-2008 04:26 AM
Hello, vfDeveloper,
You've probably figured it out by now, but I think all you need to do is add the tabStyle attribute to your Visualforce page. For example, if your custom tab shows an API name of "My_Custom_Stuff", then adding tabStyle="My_Custom_Stuff__tab" to your Visualforce page should produce the functionality you want.