+ Start a Discussion
Andrew Aldis 15Andrew Aldis 15 

VF pages redirecting in Mobile

We are working on a mobile project and just ran into a very strange behavior that we cannot figure out how to stop.  We have embedded Visualforce pages into our standard contact pagelayout the pages have some interactive features, primarily tabs and a button , however in mobile when ever anyone touches the VF page it automatically redirects the user off of the contact page to the visual forcepage itself.  Is this normal or did we do something wrong?
Khan AnasKhan Anas (Salesforce Developers) 
Hi Andrew,

Greetings to you!

This is a "Working As Designed" scenario. Its a standard behavior in a Salesforce1 app for inline VF page.

According to Salesforce doc:

When using Salesforce1 it is good practice to remember that any embedded Visualforce pages in a standard layout will have to be selected first before they can be interacted with. Once the user taps/selects the page, they will be taken to another page inside of Salesforce1 where they can then interact with the page and will then need to tap the back button to return to the details view.

There is no way around this, unfortunately.

Please refer to the below link:

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas