You need to sign in to do that
Don't have an account?
Shwetal Desai
Use of {!URLFOR(!Action.<CustomObject__c.Tab>)}
How to retrieve url for Tab page of Custom Object?
I have used:
Departments
but its not working.
I have used:
Departments
but its not working.
Thanks Rajesh,
got the answer
its {!URLFOR($Action.<CustomObject__c>.Tab,$ObjectType.<CustomObject__c>)}
All Answers
Hey
Try this
{!URLFOR($Action.CustomObject__c.Tab)}
Cheers,
Wes
Thanks for the reply wes,I tried that first but its not working giving me the visual force error message:
"Invalid parameter for function URLFOR"
please guide
Shwetal,
You can try <Action>.Custom_Object__tab. For eg. if the custom object Test, it will be <Action>.Test__tab.
I am not sure if this will work. This atleast works when you want a tabstyle of a tab so just guessing that it will work here.
any other solution ??
I foundthe following in the help:
When you override the tab home page for a standard or custom tab, set target to the "Tab" $Action global variable and id to the object type. For example,
URLFOR($Action.Account.Tab, $ObjectType.Account)
I think you also have to pass the type of Object in the second parameter. Let me know if this works
Thanks Rajesh,
got the answer
its {!URLFOR($Action.<CustomObject__c>.Tab,$ObjectType.<CustomObject__c>)}