You need to sign in to do that
Don't have an account?

How can I open a custom tab via a custom link / button?
I a custom tab which loads a custom s-control which is no more than a link to a webapp I am writing.
How would I go about creating a custom link on an object page which opens this tab and passes to it the ID of the object that contained the custom link?
Thank you in advance!
How would I go about creating a custom link on an object page which opens this tab and passes to it the ID of the object that contained the custom link?
Thank you in advance!
https://na5.salesforce.com/servlet/servlet.Integration?lid=01r7000000027ma&ic=1 but is there a way to programatically determine the servlet/servlet.Integration?lid=01r7000000027ma&ic=1 part?
I think you need to use a Global Variable. Take a look at
$ObjectType
Best,
Sati
My custom tab loads a URL-based s-control, so I do not have an $ObjectType that I can access.
I am aware of the ability to load the s-control directly, but I am being asked to load the tab for aesthetic reasons.
I was able to accomplish my goal by creating a s-control which uses the Apex Javascript functions to use describeTab(). I find the correct tab, get the url, and open it using JS.
Not the prettiest implementation, but it works...