-
Notifications
You must be signed in to change notification settings - Fork 93
EventPublisher
James Hou edited this page Jun 29, 2021
·
3 revisions
This component is an abstraction of messageService
and so it gives the ability to communicate with any component using messageService
.
This component is designed to be used in Screen Flows and comes in two flavors:
EventPublisher_LFA.cmp
- Used for events that do not need a screen component.
eventPubisher.js
- Used for events within a Flow Screen, it fires when rendered for the first time so it should respect Component Visibility rules too.
Configure Event Publisher
Local Flow Action with the following:
-
Unique Boundary: the
uniqueBoundary
given bysoqlDatatable
as a flow Input. -
Event Key:
refreshsoqldatatable
(case sensitive). - Event Value: keep this blank.
Configure Event Publisher
Local Flow Action with the following:
-
Unique Boundary:
- If tab focused dialog is enabled, use
uniqueBoundary
to only close dialogs by that tab. - Optionally, keep this blank to close dialogs across tabs.
- If tab focused dialog is enabled, use
-
Event Key:
closedialog
(case sensitive). - Event Value: keep this blank.