Add the Visualforce Custom Action to the Page Layout
Now we’ll add the custom action to the Account page layout.
- From Setup, click .
- Click Edit next to the Warehouse Schema Account Layout.
- Click the Salesforce1 Actions category in the palette.
- In the Actions in the Salesforce1 Action Bar section, click override the predefined actions.
-
Drag the Create Quick Order element into the Actions in the Salesforce1 Action Bar section so that it
appears as the first element on the left.
Our mobile technicians are going to use this custom action a lot, so we’re putting it at the start of the list so it is one of the first actions they see in the action bar.
- If it’s present, drag the Mobile Smart Actions element out of the section and back to the palette.
- Click Save.
Now that we’ve created the custom action and added it to the page layout, we’re ready to see it in action.