Chapter 6: Managing Module Data
In this chapter, we'll look at how add-on modules can provide data at installation time. This is useful for us when providing default values, adding metadata, such as view descriptions, menus, or actions. Another important usage is providing demonstration data, which is loaded when the database is created with the Load demonstration data checkbox checked.
In this chapter, we will cover the following recipes:
- Using external IDs and namespaces
- Loading data using XML files
- Using the
noupdate
andforcecreate
flags - Loading data using CSV files
- Add-on updates and data migration
- Deleting records from XML files
- Invoking functions from XML files