Import Configuration Package on Install
Hi,
I've created an app which needs some default setup data. After installation I can manually import a configuration package but what I would like is to automatically import the configuration package on installation if the setup table is still empty.
I created a Codeunit of the subtype 'install' and added trigger OnInstallAppPerCompany() and I also added the rapidstart file in a subfolder in the app but I don't know how to handle the import from here.
I could not find an example on how to do this in blogs or documentation.

This GitHub repository is dedicated to handling issues with published apps and extensibility requests for the latest release of Business Central.
To get help on general questions please use one of the following resources: Business Central Community mibuso forum Dynamics User Group