You need to sign in to do that
Don't have an account?
ShadowlessKick
Salesforce1\Visualforce
Could someone please clarify this topic about Salesforce1? Say we are talking about the Opportunity page layout. Is it possible to define an Opportunity page layout for users viewing pages through Salesforce1 on their phone and a different Opportunity page layout for the same users viewing through a browser on their desktop computers. I keep reading contradictary information.
Now if you were to do a Visualforce override you could route a user to 2 different places depending on if they are in Salesforce1 or the standard full site. The issue here is that for the Salesforce1 user you would need to implement an entire custom Visualforce Record detail page since you cannot assign or route to 2 different standard layouts.
One other option I have heard is you can write an override page that would check for Salesforce1 again, and then it would change the users profile to one that is assigned a mobile-specific layout. This can get tricky also and really only works well if the user is not switching between platforms often.
Check for Salesforce1 context:
https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/vf_dev_best_practices_pages_multipurpose.htm
Don't forget Salesforce1 navigation functions!
https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/salesforce1_dev_jsapi_sforce_one.htm
All Answers
Now if you were to do a Visualforce override you could route a user to 2 different places depending on if they are in Salesforce1 or the standard full site. The issue here is that for the Salesforce1 user you would need to implement an entire custom Visualforce Record detail page since you cannot assign or route to 2 different standard layouts.
One other option I have heard is you can write an override page that would check for Salesforce1 again, and then it would change the users profile to one that is assigned a mobile-specific layout. This can get tricky also and really only works well if the user is not switching between platforms often.
Check for Salesforce1 context:
https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/vf_dev_best_practices_pages_multipurpose.htm
Don't forget Salesforce1 navigation functions!
https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/salesforce1_dev_jsapi_sforce_one.htm