Export and Import Models


After creating a model, you may need to modify its elements or add new ones as needed. EnOS Model Management provides a template feature to export models as Excel or JSON files. Users can edit them in familiar tools and then import them back to perform batch creation or modifications of model functionalities.


If a model is created in different EnOS environments or OUs, the export and import feature enables its migration.

Note

The model name must be globally unique within the same environment. If the model name is already used in one OU, a new name must be used to create the model.

Prerequisites


  • You must have permissions related to model export. If you don’t have the permissions, contact your OU administrator for access. For more information, refer to Model Management Permission Allocation.

  • Ensure you have reviewed the model usage limitations. Refer to Usage Limitations.

Export Models


  1. In the Developer Console of the Application Portal, navigate to the Models menu and go to the Custom Models or Shared Models tab. Select Batch Export.

  2. There are two export methods. Choose Export All to export all models in the list. Or select specific models from the list and choose Export Selected.

  3. Choose the export file format: Excel or JSON. Click Confirm.

  4. Save the compressed file containing the Excel or JSON files to a local directory.

Import Models


You can use Excel or JSON files to create new models in batches, update existing models in batches, or update custom configurations for shared models in batches. If the file contains an identifier for an existing model, it will update the original model. If the model identifier does not exist, it will create a new model.


Note

Features inherited from parent models or added from the model element library may include fields that cannot be modified. These fields will be skipped during the import process.


  1. In the Developer Console of the Application Portal, navigate to the Models menu and go to the Custom Models or Shared Models tab.

  2. Select Import Model.

    • Excel: Select Download Blank Template, extract the ZIP file, and edit the files. The ZIP contains 3 folders corresponding to model definitions, views, and property rules. Each folder includes multiple XLSX files.

    • JSON: Export any file, review its JSON format, and edit as needed.

    • Import Models from Device Connection and Management: Supports importing model files exported from EnOS Device Connection and Management (DCM).

    • Import Custom Configurations of Shared Models: Supports updating custom configurations of shared models in the current OU through export and import.

  3. Click Import.

  4. If invalid records exist, a pop-up window will display error messages and a link to Download Error File. Click the link to download the file, review the errors, correct them, and re-upload the file.

  5. Once the new models are successfully imported, they will appear in the Model list.