You are on page 1of 16

Fetch Data from

Local Storage

Local Storage Aggregates


Local Storage Data on Screens
Screen Lifecycle
What is an Aggregate?

An Aggregate is a visual element that visually


defines a query to fetch data from entities
with sources, filters and sorting

2
Local Storage Aggregates

● Aggregates allow us to define queries to


local storage in a visual way

● Similar to Database Aggregates


○ Add Sources
○ Create Filters
○ Define Sorting

● No test values and no date preview

3
Sources

● One or more source Local Storage Entities

● Joins between Entities can be defined

4
Filters

● One or more conditions to filter the output records


○ Multiple filters
○ Logical operators
○ Built-in functions
5
Sorting

● One or more attributes to sort by


○ Ascending
○ Descending

6
Advanced Features

● Support for calculated attributes


computed from Local Storage attributes
○ Access to built-in functions and variables
○ Included in the output of the Aggregate

7
Advanced Features

● Support for calculated attributes


computed from Local Storage attributes
○ Access to built-in functions and variables
○ Included in the output of the Aggregate

● Support for record aggregation


○ Only the aggregated columns are part of
the output

8
Advanced Features

● Support for calculated attributes


computed from Local Storage attributes
○ Access to built-in functions and variables
○ Included in the output of the Aggregate

● Support for record aggregation


○ Only the aggregated columns are part of
the output

● Support for hiding columns


○ Does not affect the output

9
Using Local Storage Aggregates

Screen Aggregate Client Actions

Fetch Data from Local Storage Added directly to an Action flow

10
Binding the Data to Widgets

Source property of widgets can be bound to Local Storage data


When is Data Fetched?
When is Data Fetched?
When is Data Fetched?
Questions?
Thank you

You might also like