Export and import models
In Prepr you can easily export and import models. This prevents a lot of duplication and saves an enormous amount of time. Duplicating or moving models can be very useful in some cases, for example:
- When you also want to use a model from one environment in one of your other environments.
- Or if you want to turn models into shared content models. Learn more about 'shared content models'.
Export models
There are two ways to export models.
- In the list of models, click on the three dots and choose 'Export'. A download of a Json file of this model will start immediately.
- Go to the detail page of this model. Then choose 'Export' under 'Options' to download the Json file.
Import models
Importing models is only possible in a different environment than the environment where the model comes from. In the list of models, click on the ' Add model' button and choose 'Import model'. Select the Json file you previously exported and click 'Import'. Your model will now be imported.
When you refer in the imported model to models, content integrations, components, or tag groups that exist in both the first and the second environment, these settings are taken over. This saves you a lot of manual configuration.