You need to sign in to do that
Don't have an account?
Mangi S V V Satya Surya Sravan Kum
Refreshing a Lightning Aura component when a record is updated via the standard Salesforce UI
there is standard record detail page for an object and
i also create one custom lightning aura component for record detail page
now my requirement is that
whenever i change value in standard page that update should reflect on custom lightning record detail page how we can do this
i also create one custom lightning aura component for record detail page
now my requirement is that
whenever i change value in standard page that update should reflect on custom lightning record detail page how we can do this
By using Lightning Data Services(force:recordData tag), we can achieve this . whenever record is updated from standard detail page, recordUpdated event will be fired automatically in the custom lightning aura component which is placed in same page.
Use below code to identify the update event from standard page. Refer below link for more details.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_handling_record_change.htm (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_handling_record_change.htm" target="_blank)