1 resposta
Hi @Suhas P
For refreshing standard Salesforce components (like lightning:recordForm, lightning:recordViewForm, or other standard UI elements), you can use the force:refreshView event. This will trigger the reloading of standard components on the page, such as refreshing a record form or related lists.
For custom components (e.g., when a child component changes data or state and you need to notify a parent component), you can use Aura Events. The parent component can listen to the event using <aura:handler> and perform actions like refreshing or updating its state based on the event fired from the child.
Refer:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component_handling_child.htm
https://developer.salesforce.com/docs/component-library/bundle/force:refreshView/documentationThanks!