You need to sign in to do that
Don't have an account?
HarryB
How to generate a direct Salesforce link to an object?
Hello,
this is an example of what I'm doing:
1) Create e.g. a new Lead using the API
2) Show the new lead directly in the Salesforce GUI by having a direct link on my app
Now, "our" Salesforce instance has the domain https://emea.salesforce.com, however another user might access Salesforce by another URL. So if I create a static link https://emea.salesforce.com/00Q33242342, it might not work for people outside the EMEA zone/server.
Is there a way to find out, which Salesforce server the current user is logged in - maybe by parsing the "ServerURL" part of the SessionHeader?
TIA
Harry
Ian,
this would work if I'm on salesforce.com and linking to my newly created object - e.g. a custom weblink on a salesforce page.
Problem is, I have to link from my own script, which is running on my own server - meaning a different domain that salesforce.com. So I guess this won't work :-(
Regards,
Harry
Does this help?
Programatically Determine a Customers SFDC Instance
http://forums.sforce.com/sforce/board/message?board.id=general_development&message.id=7452&query.id=4218#M7452
Thank you guys, thats exactly what I needed!
Cheers,
Harry