Documentation
Getting Started
Installation
Data Grid
Approvals
Administration
Account & Security
Integration & Staging
Architecture
Documentation/Administration/Models & Entities/Model Export / Import

Model Export / Import

Export model definitions to a JSON file and import them into another Primentra environment. Use this to move models between development, staging, and production — or to share model structures between teams.


Exporting models

  1. Go to Settings → Models
  2. Click Export
  3. Select which models to include — all are selected by default
  4. Optionally check Include data rows to export the actual data inside each entity
  5. Optionally check Include permissions to export role-based permissions for each entity
  6. Click Export to download a primentra-export-YYYY-MM-DD.json file
Entities with more than 10,000 data rows may take a while to export when data is included.

Importing models

  1. Go to Settings → Models
  2. Click Import
  3. Upload the .json export file
  4. Review the preview table — each entity shows its status and a conflict action:
StatusMeaning
NewEntity does not exist in this environment — it will be created
ExistsEntity already exists — choose how to handle the conflict
  1. Set a conflict action for each existing entity (see below)
  2. Click Import to execute — a progress bar shows import status
  3. Review the summary: entities created, updated, skipped, and rows imported

Conflict actions

When an imported entity already exists in the target environment, you choose one of three actions:

ActionWhat happens
OverwriteReplace all entity settings and attributes with the imported version
SkipLeave the existing entity unchanged — nothing is modified
MergeUpdate only the fields that differ between the existing and imported version

Domain attribute warnings

If an exported entity references a domain entity (via a Domain attribute) that is not included in the import file, a warning banner is shown during the preview step. The import can still proceed, but the domain link will be left unresolved — the attribute will exist without a valid target entity until that entity is created or imported separately.


Permissions

Permissions can optionally be included in the export file. During import, users are matched by email address:

  • If a matching user exists and is active, the permission is applied
  • If the user does not exist or is inactive, that permission entry is skipped

No new users are created during import — only existing accounts are matched.

Ready to get started?

Start managing your master data with Primentra today.

View Pricing