Creating non-metadata application files

Demo data, or non-metadata application files, are files that are included in a scoped application to provide some demonstration of the functionality of the application. Records on regular metadata tables (tables that extend sys_metadata) will always be included in the application automatically, and you do not need to move them. In fact, you will not even have the option to do so because the Create Application File UI action is not available on metadata tables.

Once a non-metadata file has been moved into the application, it will appear on the Application Files related list on the sys_app record as a Metadata Snapshot class, and will be published with your application. A record is also generated on the sys_metadata_link table, which is responsible for linking that record to the correct package folder.

Application file creation options

The Create Application File UI action provides three options: New Install and Upgrades, New Install, and New Install with Demo Data. Each of these options corresponds to a specific folder in the application package. Ultimately, these options correspond to specific values in the Directory column on the associated sys_metadata_link record. The options and their respective directory values are as follows:

  • New Install and Upgrades: update
  • New Install: unload
  • New Install with Demo Data: unload.demo

If you want to change an option later for demo data that has already been created, open the associated sys_metadata_link record and modify the Directory field according to the standard mappings.

For more information

See the Create application files to include sample data product documentation topic.


Article Information

Last Updated:2019-08-02 21:11:44