You need to sign in to do that
Don't have an account?
sumedha p
How to communicate between a standard Salesforce component and a custom lightning component?
I have a custom component which needs to be refreshed when a record is created/edited/deleted using standard create/Edit/Delete. Is it possible to communicate to a custom component when a standard event occurs?
1 . You can override the create/Edit/Delete button and establish the communication using the events
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_intro.htm
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component.htm
https://trailhead.salesforce.com/en/content/learn/modules/lex_dev_lc_basics/lex_dev_lc_basics_events
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component_example.htm
https://www.mstsolutions.com/technical/salesforce-lightning-events/
2 . Use Streaming API ( Push notification )
With this option create a push topic that will send the details to your Component using the Streaming apis ( and you can use the streaming api to notify the changes )
https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/code_sample_lightning_cmp.htm
https://github.com/afawcett/streamingcomponent
https://sfdcfacts.com/api/handling-pushtopic-streaming-api-events-in-lightning-component/
https://www.linkedin.com/pulse/salesforce-streaming-api-lightning-context-dhanusha-mahatantila-/
https://rajvakati.com/2018/09/26/__trashed-3/
https://forcepanda.wordpress.com/2018/12/12/lightning-chat-component-using-streaming-api-and-generic-events/