Add a Fire Data Provider Event Action
You add a Fire Data Provider Event action to dispatch an event on a data provider in order to reflect changes to your data. For example, a component using a particular Service Data Provider (SDP) may need to display new data because new data has been added to the endpoint used by the SDP.
The action can be called either with a mutation or a refresh event. The refresh event re-fetches and re-renders all data, and the mutation event is used to specify which changes to show.
Note:
This action is not necessary for a VB Array Data Provider (ADP) variable, since the data array of an ADP variable, exposed via thedata
property, can be updated directly using the Assign Variable action. Assigning the data array is automatically detected by Visual Builder, and all listeners are notified of this change. Users will be warned of this when the fireDataProviderEvent is used with an ADP, prior to mutating the data
property directly.
To use a Fire Data Provider Event action:
For further details about this action's properties, see Fire Data Provider Event Action in the Oracle Visual Builder Page Model Reference.