function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CJDEVCONPROCJDEVCONPRO 

Frontdoor URL Changed?

Hey all,
 
I am getting this notice in my log file from my app:
 
 
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?

SuperfellSuperfell
I'm not sure how you mean this has changed, can you expand ? the API has never returned the URL to frontdoor.
CJDEVCONPROCJDEVCONPRO

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?

Gareth DaviesGareth Davies

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