Hello I would like to publish an event to send data from a skuid aggregate model to a lightning component.
skuid.events.publish(‘AggMessage’, JSON.stringify(payload));
AggMessage is never making it to the component listing on
<aura:handler event=“skuid:event” action=“{!c.handleSkuidEvent}”/>
I’m assuming this is because the publishing scope of AggMessage needs to be set to “All active pages and Lightning Components” How do I set event scope from code?
Thanks,
Peter