Skip to main content

Add a Quick Action

Follow Along with Trail Together

Want to follow along with an expert as you work through this step? Take a look at this video, part of the Trail Together series. 

(This clip starts at the 10:30 minute mark, in case you want to rewind and watch the beginning of the step again.)

Accessibility

This unit requires some additional instructions for screen reader users. To access a detailed screen reader version of this unit, click the link below.

Open Trailhead screen reader instructions.

Introduction

When you create an app with the Salesforce Platform, you automatically create a mobile version of the app. As you might imagine, you can further customize the mobile app in many ways. In this step, you create a Quick Action.

Create a Quick Action

Quick Actions are things you want to do immediately from your mobile device. These actions live in a special place called the Publisher. You can customize the Publisher so that your most important actions are there at your fingertips.

First let's create the Quick Action.

  1. Click the setup gear Gear icon to access Setup in Lightning Experience. and select Setup.
  2. Enter Global Actions in the Quick Find and select Global Actions.
  3. Click New Action.
  4. Leave the Action Type as Create a Record. In the Target Object field, choose Waypoint.
  5. In the Label field, enter Waypoint. This automatically populates the Name field with Waypoint as well.
  6. Click Save.
  7. In the next Action Layout screen, leave Waypoint Name as the only field in the layout. Click Save.

Now you need to add that Quick Action to the Publisher. The Publisher Layout determines which Quick Actions you see in the Action bar.

  1. In Setup, click Home.
  2. Enter Publisher Layouts in the Quick Find and select Publisher Layouts.
  3. Next to Global Layout, click Edit.

The Global Publisher defaults to Salesforce Classic Quick Actions, but we want to use Lightning Experience Quick Actions instead, so we need to activate them.

  1. Hover your mouse over the Salesforce Mobile and Lightning Experience Actions section, then click the wrench icon in the lower right corner to activate Salesforce Mobile and Lightning Experience ActionsPublisher layout, showing the Global Layout and Global Publisher areas and the wrench icon used to activate Lightning Experience and Mobile actions is highlighted.
  2. In the Global Layout section, click Mobile & Lightning Actions to view the actions you just enabled.
  3. Salesforce puts several Quick Actions in the Publisher by default. Let’s start by removing a few that you might not need. Remove File by clicking it in the Global Publisher and dragging it up to the Global Layout area. Then remove New Case and New Lead (if present).
  4. Now add your Waypoint action by dragging it from the Global Layout and dropping it into the Salesforce Mobile and Lightning Experience Actions section of the Global Publisher below.
  5. You can move the actions around. Drag Waypoint so that it appears first.
    The Global Publisher screen, showing Waypoint first on the left in the Salesforce Mobile and Lightning Experience Actions section.
  6. Click Save in the Global Layout.

Wow, you’ve done a lot in only a few minutes. You not only created an app, but you also customized the Salesforce mobile app as well.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback