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

na1 vs. ssl.salesforce.com
Hi,
I'm developing an application that provides several links into a customer's SFDC database. Unfortunately, I've found at least two versions of links:
https://na1.salesforce.com/... and https://ssl.salesforce.com/...
And if we provide the wrong type of link, the customer is forced to re-login for each link. Any way I can determine the right domain through the API, so I can reliably provide the right link?
Thanks!
I'm developing an application that provides several links into a customer's SFDC database. Unfortunately, I've found at least two versions of links:
https://na1.salesforce.com/... and https://ssl.salesforce.com/...
And if we provide the wrong type of link, the customer is forced to re-login for each link. Any way I can determine the right domain through the API, so I can reliably provide the right link?
Thanks!
> the login call returns the right url
Thanks. I notice that a customer that needs ssl.salesforce.com has this in their loginResponse:
'serverUrl' => 'https://na0-api.salesforce.com/services/Soap/c/6.0'
So, does this mean I can use na0 for them instead?
$result->valueof('//describeSObjectResponse/result/urlDetail')
I get
https://ssl.salesforce.com/{ID}
I'm assuming urlDetail should always be there in every (sfdc) account, right? Or is it preferable to use one of the other fields?
Thanks, Simon. This has been really helpful.