Enhancement
Starting an application on an empty database sets up the model and the classifiers and singletons defined in the model. However, this is usually not sufficient, as you want to supply a certain set of initial or demo data to make it easier to try out an application for the first time, or to set up master data that has already been defined during development.
Improvement
You can select objects in the model editor in the instance browser and export them to an XML format. Such an XML file can be placed in the WEB-INF/data folder. This file is then imported the next time the application is started.
Test
- Initial data for the "Technical demo > Components > Composition context" view is stored in tl-demo.
- Export, delete and re-import objects in the instance browser (commands in the burger menu).