You need to sign in to do that
Don't have an account?
Yogesh Kulkarni
Identify if the VF page is opened in browser or mobile app
Hi,
I am opeing a page from opportunity which has link back to opportunity, I did it with the help of PageReference. Now I want to port this on mobile as well and trying to get users back to SF1 page rather than browser page on mobile as well, used following link but the code is always going into if from browser and mobile app. Please help to check if my page is running in mobile app or browser.
https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/vf_dev_best_practices_pages_multipurpose.htm
Thanks,
Yogesh
Shashank (Salesforce Developers)
Please see if this helps: http://salesforce.stackexchange.com/questions/33514/detect-if-visualforce-page-is-in-salesforce1