Classifier Import / Export¶
Classifier Export¶
To export a classifier:
Classifier Import¶
To import a classifier:
Make sure the "Classifiers" section is open.
Click the
"Import" button at the bottom of the classifiers list.
Select and download the required file from your device in xml format (see below for a description of the format).
The classifier will be loaded into the system and displayed in the list of existing ones.
If you import the classifier again, it will be updated (the classifiers are compared by name) - the new classifier will not be loaded.
When deleting a classifier node, all attribute values of the classified records will also be deleted.
Note
In the current implementation, part of the file cannot be loaded - old changes are overridden by new ones
Description of Xml Format¶
Download an example of OKPD2 classifier description in .xml format
Root field |
Child fields |
Description |
|
classifier |
Root element |
||
settings |
Classifier settings |
||
version |
Classifier revision |
||
name |
Classifier system name |
||
displayName |
Classifier name displayed |
||
description |
Classifier description |
||
storageId |
Storage ID |
||
createdBy |
The user on whose behalf the classifier will be created/modified |
||
createDate |
Creation date |
||
moduleVersion |
Version of the Classifiers REST module |
||
checkPeriods |
Enable/disable validity period |
||
inactive |
Marking the classifier as active/inactive |
||
instanceId |
Classifier instance ID |
||
typeId |
Object type ID |
||
assignments |
Classifier assignment settings to the entity/reference set |
||
version |
Classifier version settings |
||
version |
Revision of the classifier version |
||
name |
Version system name |
||
displayName |
Version display name |
||
description |
Version description |
||
inheritAttributes |
Enable/disable global attribute inheritance |
||
validationPattern |
Enable/disable code pattern validation |
||
defaultVersion="true" |
Marks the default version in which the insertion goes. The version cannot be inactive (inactive="true") |
||
inactive |
Active/inactive version |
||
createdBy |
The user on whose behalf the version will be created |
||
createDate |
Date of version creation |
||
nodes |
Hierarchy settings |
||
node |
Classifier node settings |
||
node > version |
Node revision |
||
node > name |
Node system name |
||
node > displayName |
Node display name |
||
node > classifierVersion |
The system name of the version in which the node is inserted |
||
node > inactive |
Active/inactive node |