Assigning Actions to A Flexible Page

We learned all about actions in the Using Publisher Actions in Salesforce1 chapter, where we created and configured an action using point-and-click tools. Actions you want to use for your Flexible Pages must first be created and configured in the full Salesforce site, but unlike objects, where you add the action to a page layout declaratively, actions on Flexible Pages must be specified in the XML.

Only global publisher actions are supported for Flexible Pages.

When a user taps Publisher icon from the Flexible Page in Salesforce1, only the actions you specify in the Flexible Page XML display in the publisher. If you don’t specify any actions, the Publisher icon won’t appear.

In this exercise, we’ll be adding a pre-configured global action to the Flexible Page. This action lets our drivers schedule a delivery while on the road.