In version 7, this is completely changed with Actions Bar.
Depending on which feed or record page users are viewing, user will see different actions in the action bar and action menu.
From Feed and Today page, user will see a set of global actions.
However, from a record page, user will see a mix of productivity actions, standard and custom buttons, standard Chatter actions such as Post and File, and global and object-specific actions that are assigned to the layout for that record type.
Users can tap … icon from the action bar to open the action menu, which contains the full set of actions that are available for the object.
Global Actions
In Feed and Today page, by default Actions Bar will have icon from: Post, File, New Event, New Task, and so on. How we can add / delete / re-order the icons?
- Navigate to Setup | Create | Global Actions | Publisher Layouts
- You can have many layout based on the user profile, select a Global Publisher Layout by click Edit link
- You will see available Global Actions and Actions has been made available, you can add, remove, and change icon order by drag and drop the \”icon\” in Actions in the Publisher
Create custom object record using Action
If you have a custom object, you will not see Action for New for that object. You need to create a Global Action for this. Let us go through:
- Navigate to Setup | Create | Global Actions | Actions
- Click New Actions button
- Assume the object name is Service, enter Action Information as screenshot below
- You will notice New Service now available in the available Actions
- Edit Global Publisher Layouts and drag New Service into Actions in the Publisher
Object-Specific Actions
There are five types of object-specific actions:
- Object-specific actions create records that are automatically associated with related records. For example, you add an object-specific action on the Account object that creates contacts. If a user creates a contact with that action on the detail page for the Acme account, that new contact is automatically associated with Acme.
- Object-specific update actions make it easy for users to edit records. You can define the fields that are available for update.
- Object-specific Log a Call actions let users enter notes about calls, meetings, or other interactions that are related to a specific record.
- Object-specific custom actions are Visualforce pages or canvas apps that let users interact with or create records that have a relationship to an object record.
- Send email actions, available only on cases, give users access to a simplified version of the Case Feed Email action on Salesforce1
- Navigate to Setup | Customize | Accounts | Page Layouts
- Look for Actions in the Publisher, by default it will inherited from the global publisher layout, but you can overwrite by click link override the global publisher layout
- Mobile Smart Actions will be added by default and only for some standard objects, see reference below for more information. If you remove Mobile Smart Actions, following actions will be available:
- Standard actions, such as Post, File, Link, and Poll.
- If you have edit or delete permission, you will Edit and Delete icon actions (type item 2 above)
- Call or Log action (type item 3 above)
- You will see Read News icon if you enable Account News Settings in Setup | Mobile Administration | Salesforce1 | Settings
The same for Opportunity object, when Mobile Smart Actions is not in the Actions in the Publisher:
- Standard actions, such as Post, File, Link, and Poll
- If you have edit or delete record permission, you will have Edit and Delete actions. If you have create permission, you will have Clone action (type item 2 above)
- Call or Log action (type item 3 above)
If the object with Lookup or Master-Detail relationship with other object, example: Service have a lookup relationship to Opportunity. You suppose not to create Global Actions to create New Service from Opportunity, because it will NOT automatically populate Opportunity Name into Service when click New Service action.
You have to create the Action in Opportunity object:
- Navigate to Setup | Customize | Opportunities | Buttons, Links, and Actions
- Click New Action button and enter Action Information
- You can define fields visible when user click the Action, for Master-Detail relationship, owner will be not available.
- Navigate to Opportunities Page Layout, find Action created and drag to Actions in the Publisher
Opportunity Name will be automatically populated:
Reference: