You need to sign in to do that
Don't have an account?
DrawloopSupport
URLFOR Custom Visualforce Tab
Let's say you have a Visualforce tab called Sample_Tab that references some Visualforce page. How would one construct a URLFOR function for this tab? I have tried at least the following:
{!URLFOR(Sample_Tab)} {!URLFOR($Action.Tab.Sample_Tab)} {!URLFOR($Action.Sample_Tab)} {!URLFOR($Tab.Sample_Tab)} {!URLFOR($Component.Sample_Tab)}
Thanks!
So there isn't a way to reference the page "as a tab" so to speak. You can reference the page, however. So say your page named "Sample_Page", the syntax is:
Now to get your page to show up "as a tab" you need to modify your sample page to declare it's intended to be shown under a specific tab. Using your tab name you'd need your sample page to look something like this:
I can see how that would work in most cases, but, unfortunately, it won't work in our case. I will probably just have to add it to the Idea Exchange...
Thanks.
Why will that not work? Does your page need to be displayed under many different tabs? Please cross-reference your idea to this post.
Thanks,
Andrew
Yes, the Visualforce page needs to display as different tab styles.
Thanks.
Sorry there isn't a working solution yet. Please do cross reference the idea from this thread so others who come across this can support it.
Posted!
https://sites.secure.force.com/success/ideaView?c=09a30000000D9xtAAC&id=08730000000YDGaAAO