Newer Version Available

This content describes an older version of this product. View Latest

Standard Visualforce Pages

Normal Visualforce pages render well on mobile browsers, and can be used as-is, with a modest reduction of the user experience compared to mobile-optimized Web pages. Pages display as they would on the full Salesforce site, and won’t visually match other Salesforce app features.

Limitations

Limitations to the user experience include:

  • Tap targets—buttons, links, form fields, and so on—are optimized for mouse cursors, and can be difficult to hit accurately with a fingertip.
  • The visual design is unchanged, and may not fit with the mobile-optimized, modern visual design of the Salesforce app.

If your development timeline is aggressive, you might find these limitations acceptable.

Example of a Standard Visualforce Page

The following code provides a sample for a standard Visualforce page that allows a user to edit a warehouse record. The edit feature is provided by the standard controller for the object.
This page can be used in both the Salesforce app and the full Salesforce site. It displays as a standard desktop Visualforce page in both contexts.