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 folder, we can also manually add Static Data with a
Static Data Folder brick.
Static Data Folder
Static Data Folders are a way to create pre-defined instances of Models (Objects). Objects can be created, updated and deleted.
Available in the Project editor as a Tab. It contains 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 Static Data Folder named “Categories”.
- Open the new Static Data Folder.
- Click on Category.
- Add different categories (e.g. ideas, work, …).