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
Marine GustinMarine Gustin 

Create a macro with a quick action calling a lightning component

Hello fellow Salesforce Developers,

I would like to create a macro that would automatically perform a click on a global action that calls a lightning component.
My global action and my lightning component are ready and functionning, but, when I try to create my macro, I can't click on that global action.
Do macros support global actions with lightning components ?

Thanks for your answers!
Arun Kumar 1141Arun Kumar 1141

Hi @Marine

Macros in Salesforce can computerize a progression of redundant errands, like refreshing records or making new ones. However, they only have a limited capacity for Lightning component interaction.
Macros can't straightforwardly connect with worldwide activities that send off Lightning components. This is on the grounds that macros are intended to cooperate with the UI components on the page like fastens and fields, but not to Lightning Components.

If this helps, mark it as the best answer.

Thanks

Arun