Sharing Visualforce Pages Between Mobile and Desktop

You should revise Visualforce pages that appear in both the Salesforce1 mobile app and in the full Salesforce site to support both environments. This includes Visualforce pages used as custom actions, and Visualforce pages added to standard page layouts, except those added to the Mobile Cards section of a page layout.

Visualforce pages that need to work in both environments include:

  • Pages used as custom actions. Custom actions appear in the action bar in the Salesforce1 mobile app, and in the publisher menu in the full Salesforce site.
  • Pages added to normal page layouts, when Available for Salesforce mobile apps is enabled for the page.
  • Custom Visualforce buttons or links added to normal page layouts.
  • Standard button overrides with Visualforce pages for the New, Edit, View, Delete, and Clone actions. Overriding standard list and tab controls isn’t supported in Salesforce1. Button overrides won’t appear in the Salesforce1 app unless Available for Salesforce mobile apps is enabled for the page.

    Standard buttons that are overridden with a Visualforce page disappear from record detail pages and record lists in Salesforce1 if Available for Salesforce mobile apps is disabled for the Visualforce page that overrides the corresponding button.

    Note