Get Your Visualforce Pages into the Salesforce App

Visualforce pages must be enabled for mobile use before they can display in the Salesforce app. You can do this in Setup by entering Visualforce Pages in the Quick Find box, then selecting Visualforce Pages, then click Edit next to a page name, and select the Available for Lightning Experience, Lightning Communities, and the mobile app checkbox on that page.

Just because you’ve enabled a Visualforce page for mobile doesn’t mean that it’s automatically mobile friendly. Before exposing existing Visualforce pages in the Salesforce app, consider how they’ll look and function on mobile phones and tablets. Most likely, you’ll want to create a new page specifically for mobile form factors.

Tip

Visualforce pages can display in these areas of the Salesforce app user interface:
  • The navigation menu, via a Visualforce tab
  • The action bar, via a custom action
  • Mobile cards on a record’s related information page
  • Overridden standard buttons, or custom buttons and links
  • Embedded in record detail page layouts
  • Lightning pages

If you want to dig deeper into customizing the Salesforce app with Visualforce, and discover lots of best practices to use when designing your pages for the app, check out the Visualforce chapters of the Salesforce App Developer Guide.