+ Start a Discussion

After inserting record, I want to view the URL of it.

After I insert a lead or contact, I get the ID returned from the rest interface.  I'd like to present a link to view this lead in a browser.  Is there a way to construct a url from the id?


Hi DarkHalf,


The URL for records entered in Salesforce is always of the following format:

https://<Instance code or XXX.my>.salesforce.com/<Record ID>


However, what you will have to check is how to create a user session on browser such that you are able to open the URL on the browser and able to access Salesforce record using the URL you create from the ID.


Hope I got your question correctly and the info helps..