Data actions
For our applications to work, we have to get data from certain sources. This can be the OutSystems database as an external source.
To obtain data from the OutSystems database, we can use aggregates. These can trigger further actions that run in On After Fetch events.
We can configure its name, description, server request timeout, its start index, the maximum number of records to return, and when it happens—if at the start or only when we ask for it (only on demand)–as illustrated in the following screenshot:
Note
The Fetch property is very important because this helps us to manage the data we need at the start of the screen or when we need it, which is called on demand.
Sometimes, we need to get data that the aggregates cannot supply—that is, we have high complexity. We may also have cases where our data sources are external (such as Simple Object Access Protocol...