[SalesForce] Salesforce1: Open current object in safari browser with login

We are developing mobile friendly visualforce page. Due to the UIWebview issues with iOS7.0/7.1 there are some components which does not work as expected. Though 7.1 update fixed a lot of issue, still there are some few issues; the same code is working in iOS safari browser.

The question: Is there a way to open current page (whatever the object/custom vf) in safari (external app) browser from salesforce1?

The opposite of com.salesforce.salesforce1://entity/view?entityId={Account.Id} which open salesforce1 app from safari.

Also, I'm looking for a solution which doesn't require the user to key-in their username and password again. I have used Frontdoor.jsp (frontdoor.jsp?sid=session_ID&retURL=optional_relative_url_to_open) in the past from my custom app, looking for same with salesforce1.

Best Answer

In the Frootdoor.jsp argument optional_relative_url_to_open try something like:


You will need to encode it as applicable for a query string parameter

According to Visualforce in Salesforce1 by Bob Buzzard using the JavaScript function window.open will break out of the Salesforce1 app.

Related Topic