Export App Package
Introduction
You can export an app package (.mpk) from Studio Pro for backup purposes or to share it with other developers. This is useful when you want to give someone the entire app or when you need to provide a test app when submitting a ticket.
You can import app packages into a new app using the Import App Package feature.
To export the package, open the File menu > Export App Package and select the relevant options in the Export App Package dialog box:
The sections below describe the available options.
Package Type
You can also export your app as an Adaptable Solution. To do this, open the App settings > Solution tab and set Enable solution adaptation to Yes. For more information on this setting, see the Solution Tab section in App Settings.
You can then choose to export your app as Solution or Source Package.
Solution Package
Choose this package type if you develop your app as a solution and it has certain documents or elements hidden from consumers. Your app is exported as a .mxsolution file; add-on and solution modules are converted to the .mxmodule format during export. For more information on add-on and solution modules, see Configuring Add-on and Solution Modules for Publishing.
Source Package
A source package is used to distribute your app in the source format (that is, all content is distributed with source code, which allows documents and elements to be changed on the consumer side). Your app is exported in .mpk format.
Destination
You can specify the folder to export the package to. The default location is a folder named packages inside the app directory.
Export Data
App packages can be exported to a package file (.mpk). You can choose to export the built-in deployment database and uploaded files or export with no data. Choose one of the following options:
- No data – the package is exported without data.
- Existing snapshot – this option includes the existing database snapshot in the exported app package.
This option is only available when a snapshot has already been created. If necessary, you can create a snapshot via Version Control > Add Snapshot of Data.
- New snapshot from current database – creates a new snapshot from the database and includes it in the export.
This option is available after you run the app locally at least once, because a local database is created when running the app for the first time.