Try It Out: Deploy a Flexible Page

We’ve created our Flexible Page XML, so now it’s time to deploy it and its app into our developer organization.

  1. Zip the contents of the Salesforce1_Dev_Guide_Deliveries_App package folder back up into a new .zip file called DeliveriesApp.zip.

    Don’t zip up the main folder itself, or the package won’t deploy correctly. Select the package.xml file and all the subfolders (objects, flexipages, tabs, and so on), and zip them up together.

    Important

  2. In a new browser tab or window, navigate to https://developer.salesforce.com/page/Workbench.
  3. Set the API version to the latest one.
    For example, Summer ’14 is API version 31.0. Flexible Pages are supported in API version 29.0 and later.
  4. Agree to the terms of service, and then click Login with Salesforce.
  5. Log in using your Developer Edition credentials.
  6. From the migration menu, select Deploy.
  7. Click to choose a file and select the DeliveriesApp.zip file you just created that now contains our Flexible Page.
  8. Select Single Package.
  9. Click Next.
  10. Click Deploy.
  11. Wait for the deployment to finish.
  12. Return to your Salesforce browser window.

Great! Now our package and its contents are in our development organization. But we’re not done yet. We need to get our Flexible Page into Salesforce1, and to do that, we need to create a tab.