I wondering why the mobile view in the desktop browser (/one/one.app) differs from the native view on my Android smartphone (Nexus 5 with Salesforce1 App).

For example, the view page(no Visualforce!) of a custom object record looks fine at the mobile view in the desktop browser, but at the Android phone it is rendered like it is rendered on my normal Desktop.

It seems that this only appears if the record is opened via a Visualforce page.

1 Answer 1


How do you "open via Visualforce page" that record exactly?

If it's /{!record id here} or some kind of action method that returns PageReference (most likely with redirect?) - yep, it'll end up becoming a standard ("desktop") view of the record.

You should be detecting the S1 and using it's own navigation methods instead (like sforce.one.navigateToSObject('{!record id here}','detail').

Consult the S1 documentation and welcome to the world of pain ;) You might decide to have 2 separate VF pages rather than one that tries to work in both wo

I found these presentations quite useful:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .