Data - Config & Runtime Data
Introduction
For a given Data Type
instances are created an manipulated by the application. While instances created by the application via the API are runtime instances that appear in the Runtime Data Set
tab, we can also manually add Config Data with a Config Data Set
brick.
Config Data Set
Config Data Sets are a way to create and manage instances of Config Data Types. Objects can be created, updated and deleted.
Runtime Data
Available in the Project editor as a tab. It displays object instances of a Data Type
created within an app at runtime. The editor also has a +
button to create runtime instances like the runtime app does.
Exercise 8 – Categories Data
The goal of this exercise is to define the list of possible note categories.
- Go back to Project “Notes”.
- Open Folder “Data”.
- Create a new Config Data Set named “Categories”.
- Open it.
- Click on Category.
- Add different categories (e.g. ideas, work, …).