RC_BusinessEvent_NotificationConsole is an Aura Lightning component that:
- Subscribes to a custom platform event channel
- Displays notifications when Business Event platform events are received - in a toast pop-up message and as a list within the component.
- Past events can be replayed from the event channel.
- A history of events can be replayed from stored Business Event custom object records.
- Events can be marked as "seen" in the notification console and this "seen" action is stored with the Business Event custom object to see which users saw and marked the event and at what date/time.
More detailed documentation in these:
To work on this project in a scratch org:
- Set up CumulusCI
- Run
cci flow run dev_org --org dev
to deploy this project. - Run
cci org browser dev
to open the org in your browser.
This project depends on the lightning component RC_FlowButton in https://github.com/SFDC-Assets/rc-flow-components
If using CumulusCI to deploy this project, the dependent project will be deployed automatically as an unmanaged package before installing the source in this project.
If not using CumulusCI, first deploy the dependent project above using sfdx or the unmanaged package installation url in https://github.com/SFDC-Assets/rc-flow-components/blob/master/README.md. Then install with sfdx:
./scripts/authenticate-prod-org.sh
./scripts/convert-to-metadata-api.sh
./scripts/deploy-metadata-to-prod-check.sh
./scripts/deploy-metadata-to-prod.sh
- Assign the permission set named
business_events
to users.