Import data types
- Last UpdatedJul 29, 2025
- 3 minute read
You can efficiently build a set of UDTs by importing a .json file containing a previously created set of UDTs into your application.
UDT supports the following modes during the JSON import:
-
ASK: Prompts a popup for confirmation during conflicts. The behavior is similar to the ASK mode used in DBLoad/DBDump operations (from the CSV file). This is the default mode.
-
SKIP: Skips conflicting entries without making any changes. Functions like the IGNORE mode in DBLoad/DBDump operations.
-
OVERRIDE: Replaces existing entries during conflicts. Behaves like the REPLACE mode in DBLoad/DBDump operations.
-
ABORT: Stops the UDT import operation like the ABORT operation in DBLoad/DBDump operations.
By default, the ASK mode is configured in the JSON file when exporting the UDTs.
Note: Use the OVERRIDE mode to avoid the prompting of a popup for each alarm group.
Change the mode in JSON file:
-
Open the required JSON file that you want to import. (e.g., udtinfo-20241108.json or udtinfo-20241105-DWTP Tags Import.json)
-
Update the "Mode" field as shown below:
Json Content:
{"Version":13,"Mode":"OVERRIDE"
-
Perform the UDT import operation using the updated JSON file.
Import data types
-
Open the User defined type pane.
-
Right-click User defined type and select Import data types from the context menu, then select the Import icon on the toolbar.

-
Navigate to and select the .json file with data type configuration details, and then select Open.

-
In the Import user defined types dialog box,
-
Select Skip: Do not copy to skip the import of data types that has same name as the existing data types.
-
Select Overwrite: Replace existing data types regardless to overwrite and replace the existing data types, when data type name is same as the existing data types.

-
-
Select OK.
All data types and other items available in the .json file appear according to the option that you have selected in the previous step.
Note: Overridden instance values are not retained when you import the file.
You can also import the data type using the Import > Visualization > User defined type option under File menu.

After importing the file, the UDT hierarchy is shown.

You can add more UDTs to the hierarchy. To do that, create a new data type called "BatchPlantType", add members, and change the type in the properties grid for each member as shown below:
-
Conveyor - type $ConveyorType
-
MixerX001 - type $MixerType
-
PackagingUnit - type $PackagingUnitType
-
Silo1 - type $Silo1Type
-
Silo2 - type $Silo2Type
-
Silo3 - type $Silo3Type
The resulting hierarchy reflects the new members.
