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

Programatically generating link to Opportunity or other record
Hello,
I need to generate a link to an opportunity and was wondering if there's a way to do this through the API? I can do it now by just outputting a string like https://na4.salesforce.com/<record ID> but that seems like a bad solution.
I need to generate a link to an opportunity and was wondering if there's a way to do this through the API? I can do it now by just outputting a string like https://na4.salesforce.com/<record ID> but that seems like a bad solution.
describeSObject("Opportunity") will return the URL patterns for the various pages.

Thanks! Works great!