function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jan WernerJan Werner 

How to add a lightning component action to an app page?

Hi

I've been looking around but i have found nothing regarding this topic so far. In the lighting app builder, you can add global actions to your app pages. I know how to create your own global actions, but when i try to add a custom lighting component action, it just does not show up in the list (with all the other global actions i tried E.g. New Record, Visualforce Page etc. , it worked). Also, i can add the custom action to a publisher layout
My custom action lighting component looks like that:
<aura:component implements="force:lightningQuickAction,force:appHostable,flexipage:availableForAllPageTypes" access="global">

</aura:component>
Am i missing something, or is this simply not possible?
Best Answer chosen by Jan Werner
Manish  ChoudhariManish Choudhari
Hi Jan,

Lightning Global Actions are designed to be used under publisher layout, they cannot be added in Lightning App Builder Page.

You can add your quick action component as a normal component on Lightning Page but cannot add as global action.
Checkout this help article about global action. It does state the limitation but it does explain the way to add global action using publisher layout (only way).
https://help.salesforce.com/articleView?id=actions_overview_global.htm&type=5


Let me know if this helps.

**Please mark this as best answer if this answers your query.**

Thanks,
Manish Choudhari
14x Certified Salesforce Architect
Certification link: 
http://certification.salesforce.com/certification-detail-print?conId=003G000002gRrrEIAS 
My Blog: http://sfdcfacts.com/
Youtube Channel: https://www.youtube.com/SFDCFacts
LinkedIn: https://www.linkedin.com/in/manish-choudhary/
Trailhead: https://trailhead.salesforce.com/en/me/manish-choudhari
Twitter: https://mobile.twitter.com/manish_sfdc​