Try It Out: Deploy a Lightning Page

We’ve created our Lightning 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. Click Login to Workbench Now on Developerforce.
  4. Set the API version to the latest one.
    For example, Summer ’15 is API version 34.0. Lightning Pages are supported in API version 29.0 and later.
  5. Agree to the terms of service, and then click Login with Salesforce.
  6. Log in using your Developer Edition credentials.
  7. From the migration menu, select Deploy.
  8. Click Choose File, and then select the DeliveriesApp.zip file you just created that now contains our Lightning Page.
  9. Select Single Package.
  10. Click Next.
  11. Click Deploy.
  12. Wait for the deployment to finish.
  13. 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 Lightning Page into Salesforce1, and to do that, we need to create a tab.