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
turntwo463turntwo463 

Opening Detail Pages from Flex Application

From within my Flex application, I would like to link back to detail pages for records selected in the application. I have tried doing this by using ExternalInterface to execute the “window.open” command passing a URL of the following format:

Frontdoor URL/objected?sessionId={session id from connection’s login result}&serverlUrl={server Url from connection}

https://na7.salesforce.com/701A00000004swV?sessionId=00DA00000ZZZZZFNplK_BCCYkWUV&serverUrl=https://na7-api.salesforce.com/services/Soap/u/15.0/00DA00000004csV

I’ve tried this with and without the serverUrl parameter.

While a new browser window is opened, the request is redirected to:

https://login.salesforce.com/

with a message:

You have attempted to access a page that requires a salesforce.com login. If you are already a user of the system, please login below.

Once I provide username and password, the correct detail page is opened.

So, what am I missing here? Is it possible to open the detail page directly? Can someone direct me to any documentation?

Thanks in advance for your assistance,
David