You need to sign in to do that
Don't have an account?
CJDEVCONPRO
Frontdoor URL Changed?
Hey all,
I am getting this notice in my log file from my app:
The new server url is: https://na1-api.salesforce.com/services/Soap/u/7.0
Any idea how to use it? Here is my current usage to open SalesForce with the Cases tab selected.
Process.Start(txtURL.Text & "?sid=" & loginRes.sessionId & "&retURL=/500/o")
What is the new way to use the new API URL?
Ok, I am confused then.
I use the frontdoor.jsp URL to open certain items. But I get that message now when I use it.
Make sense?
The best way to get the URL to use is to do a describe object call on one of the main objects (or preferably the object type you want to open) and contained in the DescribeObjectResults object are attributes for:
detailURL and (from memory) createURL and deleteURL ...
binding = new SforceService();
//
//Do Login etc
//See API Docs at http://www.salesforce.com/developer/docs.jsp
//
string ObjectName = "Account";
DescribeSObjectResult res = binding.describeSObject(ObjectName);
string detailurl = res.urlDetail;
SimonF put me on to this a while ago, it's the right way to go.
Cheers
Gareth.
Message Edited by Gareth Davies on 04-03-2006 04:13 AM