- Contents
Interaction Administrator Help
Importing and Exporting XML Files
Interaction Administrator offers the ability to import and export response management files through the response management editor.
Importing
Import files must follow a specific XML schema for successful import. The document contains three levels: the document level, the node level, and the item level. These levels are hierarchical, meaning an item level entry cannot be a direct child of the document level, and a node entry must be the direct child of the document level:
-
Document Level
-
-
Node level
-
Item level
-
Item level
-
-
Node level
-
-
Item level
-
-
Item level
Document Level
The document level must contain the item I3_Response_Management_Document. This XML node must have two attributes; title and description. The file attribute must match the name of the XML document. The description attribute may be empty, or it may contain a brief description of this file.
<I3_Response_Management_Document title=”sample.xml” description=”This is a sample response management XML file”>
</I3_Response_Management_Document>
Node Level
Node level entries are used to group one of more response items into groups. They must start with the ResMgt_Node tag, and contain the node’s name as the title attribute.
<ResMgt_Node title=”TestNode1”>
</ResMgt_Node>
Item Level
This level contains all response management items. Three different types of response items are supported; text, file, and URL. An item has to be indicated by the ResMgt_Item tag. The type is stored in the type attribute. The title attribute contains the ‘question’. The ‘answer’ has to be contained in a CDATA node, as shown below:
<ResMgt_Item title=”What is this?” type=”text”>
<![CDATA[ This is a test ]]>
</ResMgt_Item>
Sample Document
<I3_Response_Management_Document title="sample" description="This is a sample response management XML file">
<ResMgt_Node title="TestNode">
<ResMgt_Item title="What is this?" type="text">
<![CDATA[This is a test text entry]]>
</ResMgt_Item>
<ResMgt_Item title="And what is this entry?" type="File">
<![CDATA[file_entry.txt]]>
</ResMgt_Item>
<ResMgt_Item title="How does a URL entry look?" type="URL">
<![CDATA[www.genesys.com]]>
</ResMgt_Item>
</ResMgt_Node>
<ResMgt_Node title="TestNode2">
<ResMgt_Item title="What is James Bond's number?" type="text">
<![CDATA[007]]>
</ResMgt_Item>
</ResMgt_Node>
</I3_Response_Management_Document>
Exporting
Click Export XML File... and select the location to save the file. The file will be saved with the response management attributes in XML format.

