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
sumedha psumedha 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?
Raj VakatiRaj Vakati
Try this options 

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/