I have three standard related list(Related list - single) components on Opportunity object Lightning page as below:
- Related list for detail child custom object(Master detail relation with Opportunity)
- Related list for lookup child custom object(lookup relation with Opportunity)
- Related list for lookup child standard object(OpportunityLineItem).
Here is the screenshot.
Why is it that only related list component for standard object firing refreshView
event when a record is added or deleted but not for the custom object related lists?
My ultimate goal is to detect if something changed on the related list component then take necessary action.
OpportunityLineItem
also mutates theOpportunity
- the fieldsHasOpportunityLineItem
andAmount
get updated. – David Reed♦ Dec 15 '19 at 17:35