XML Import is the means to update the object configuration by XML files.

XML Import can be started:

The object configuration will be exported into directory intended for an automatic export when following conditions are met:

  1. XML Import runs on the client process and XML Repository is in active status or Automatic XML Export after object save is checked off,
  2. files are not imported directly from the directory intended for automatic object export or from some of its subdirectory.

At XML Export there are created, except for XML files, the binary files with bin suffix. They contains an additional data of objects. These files are necessary for XML Import. More detail information on binary data of XML file is mentioned in a description of properties of SDT_RAW_DATA type.

An evaluation of <CRC> section affects the object modification time after the XML Import has been executed.

XML Import allows changing the parent, but only for the objects of I/O tag, Event, Database or Table type.

The result of XML Import is influenced by the setting of import parameters:

Parameter Import from the processes ESL function
DB_ASYNC Setting of the parameters at import from CNF (dialog box). ON or set
UID_STRICT ON or set
UID_USEXML OFF or set
IGNR_CHECK OFF or set
UPD_VARS ON or set
GROUP_ADD ON or set
IGNR_REFS OFF or set

Note 1: XML Import does not import object life logs of CVS type from XML files.
Note 2:
The information about XML Import of object is written into logging database - System class. The reason (creation of object, modification, ...) that has caused the import is written into the column "Description". The column "Incident" contains the term "XML Import" or "XML Import from <import_directory>", where <import_directory> is a directory which contained that imported XML file.

Warning: The membership of objects in logical groups mentioned in MEMBEROFLOGGROUP section of XML file has a specific behaviour in XML Import. It always replaces the previous list of logical groups in which the object exists (as if GROUP_ADD = OFF). It searches the logical groups according to UID of object first. If the connection fails it searches the object according to NAME (as if UID_STRICT = OFF).

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.