+ Start a Discussion
eric_deveric_dev 

Need to open salesforce record without login form

Hi,

I have external .Net application (c#) that user enter username and password and logins to Salesforce.

 

As one of requirements, i should open opportunity record in salesforce

without entering again login details https://na3.salesforce.com/0065000000AZxxxx

 

Or at least to open home page (https://na3.salesforce.com/home/home.jsp)

 

What should I transfer to salesforce and what is a correct syntax?

I assume that it should be session ID, URL and maybe something else

 

Thank you

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
You can call describeSObject() and it'll return you the URL patterns for the pages for the object type, they include the full host name.

All Answers

SuperfellSuperfell
There's no supported way to transfer an API session into a UI session, but for an unsupported way, search the forums for frontdoor.jsp.
eric_deveric_dev

Hi Simon,

Thank you for the response!

 

it works great.

 

is a way to know exactly URL prefix : na3, emea, cs1?

 

for using it in URL https://PREFIX.salesforce.com

 

LoginResult.serverURL has much more details

 

 

Thank you

 

 

 


 

 

SuperfellSuperfell
You can call describeSObject() and it'll return you the URL patterns for the pages for the object type, they include the full host name.
This was selected as the best answer
eric_deveric_dev
Thank you very much!