Importing and exporting and structures


Both the ARExport and ARImport functions use the ARStructItemList structure to represent AR System objects to export or import. This list contains zero or more ARStructItemStruct items.


Structures used to import and export AR System objects
221_DataStructures8_ImportExport.png

Each ARStructItemStruct represents a particular object to export or import:

Item type values for ARStructItemStruct (AR System format)

Values marked with an asterisk (*) are available for legacy environments that use BMC Helix Innovation Suite user, which is no longer shipped with AR System.

XML format

To export a form that you want to import to another server, you must specify AR_STRUCT_ITEM_SCHEMA. The three partial form types do not contain complete form definitions and are used only for caching purposes.

The AR_STRUCT_XML_OFFSET (1 << 30) bitmask is used to derive the XML structure item types. The XML type is the logical-OR of the non-XML type and the XML offset.

For example: AR_STRUCT_ITEM_XML_SCHEMA is defined in the ar.h file as (AR_STRUCT_XML_OFFSET | AR_STRUCT_ITEM_SCHEMA ).

To import all structures in the import buffer, specify NULL for the structItems parameter or an ARStructItemList with zero items.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*