What are Static Entities?
Static Entities can be seen as literal values stored in the database and with global context between environments (such as typical enumeration).
These Entities only provide the Get
Entity method, and any record to be added, edited, or deleted has to be done in Service Studio (it is not possible to programmatically perform these operations).
Natively, when creating a Static Entity, four attributes are created automatically, and we can edit, delete, or create new ones in our IDE. The four attributes created automatically are as follows:
- Id: Identifies a record and is always unique. It is the only attribute on the Static Entity that can be automatically numbered.
- Label: Contains a value to be displayed in an application.
- Order: Defines the order in which records are displayed to the end user.
- Is_Active: Defines whether a record is available at runtime. For example, records with
Is_Active
set tofalse
are not used when scaffolding uses...