Newer Version Available

This content describes an older version of this product. View Latest

Get Started with the Publisher and Quick Action APIs

Create custom components to interact with the actions on pages in Salesforce Classic and Lightning Experience apps. Using Lightning components, Visualforce, and Apex, you can customize your app’s experience, including the case feed. For example, say you want users to be able to click a button that sends a contact an email with a Knowledge article. You can do that with custom components.
Available in: Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

The Salesforce Classic Publisher JavaScript APIs, also known as the Case Feed Publisher APIs, and the Lightning Quick Action JavaScript APIs both interact with page actions. The Publisher APIs work with Visualforce components and pages to interact with publisher actions. The Quick Action APIs are called by the lightning:quickActionAPI component to interact with quick actions.

Starting with API version 43.0 of the Publisher API, the methods used in Visualforce components work in Lightning Experience. Just point to the latest version of the Publisher API script in your Visualforce pages.

Note

To use this guide, it helps if you have a basic familiarity with JavaScript, Visualforce, Apex, Lightning components, and the Salesforce user interface.