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
Josh KeglovicsJosh Keglovics 

Display text in global action

Is it possible to create a LWC that could be used in a global action layout? Or is there a better way to add display text to the layout?
Best Answer chosen by Josh Keglovics
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Josh,
LWC components are not supported in Global Actions.To use a Lightning web component in global action, wrap the component in an Aura component.
Please refer below links which might help you further
https://theashcode.com/salesforce-lightning-web-components-with-quick-actions/
https://salesforce.stackexchange.com/questions/252191/lwc-as-quickaction-in-salesforce

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards
 

All Answers

Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Josh,
LWC components are not supported in Global Actions.To use a Lightning web component in global action, wrap the component in an Aura component.
Please refer below links which might help you further
https://theashcode.com/salesforce-lightning-web-components-with-quick-actions/
https://salesforce.stackexchange.com/questions/252191/lwc-as-quickaction-in-salesforce

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards
 
This was selected as the best answer
Josh KeglovicsJosh Keglovics
Great! Thank you so much!