I’m using Lightning Data Service in a component. It all works well. One item I’ve noted is that it does not seem to detect changes to fields which may have occurred via a trigger or workflow after a standard record save for a component I have on my record detail page.
Should the “recordUpdated” function within force:recordData detect this?
If not is using component.find(“forceRecord”).reloadRecord() the recommended approach? If so how do I detect when to fire this?
Thank in advance (& apologies if the answer should be obvious but I have not noted one.)
According to this Trailhead Step
force:recordDataautomatically retrieves the record specified by its
recordIdattribute, and then stores that data in the
<aura:attribute>defined by the
recordUpdatedattribute when it detects a change.
You can use
recordUpdated to make actions when detected a change in all the record fields.