Salesforce1 Platform Development Process

The Salesforce1 app is designed to run on a mobile device, like a phone or tablet, but that doesn’t mean you have to develop on one. Especially when you’re working with Visualforce pages that will apper in both the Salesforce1 app and the full Salesforce site, it’s convenient to develop on your desktop. By accessing the Salesforce1 app in a device emulator or browser window, you can develop iteratively on your desktop, without having to pick up your device to test each change.

Running the Salesforce1 app in an emulator or desktop browser isn’t supported for normal use, and it’s not a substitute for full testing of your custom apps and pages on your organization’s supported mobile devices. During development you should regularly test your app on every device and platform on which you intend to deploy.

Important

To view your Salesforce1 custom pages and apps on a device emulator, download and install the appropriate SDK for your supported devices.

To view your Salesforce1 custom pages and apps in your desktop browser, access the URL https://<Salesforce_instance>/one/one.app.

  • For development purposes only, the following desktop browsers are recommended:
    • Chrome on Windows
    • Chrome or Safari on Mac OS X
  • If you experience an automatic redirect back to the standard version of Salesforce, set your browser’s user agent to that of a mobile device, such as an iPhone or iPad. You can set the user agent in your browser settings, and the steps vary depending on the browser. For more information, see http://osxdaily.com/2013/01/16/change-user-agent- chrome-safari-firefox/.

You can’t use the standard https://<Salesforce_instance>/apex/yourPageName URL to test Visualforce in Salesforce1. You can only do that by accessing the page within Salesforce1.