Repository.XFRACAS.ImportXFRACASXMLString

Uploads an import file byte stream for processing. Returns an Integer that represents the system ID.

Syntax
.XFRACAS.ImportXFRACASXMLString(entityID, importType, xmlString, fileTitle, fileDescription)

Parameters
entityID


 * Integer. The ID number of the XFRACAS entity to import the data into. (Required)

importType


 * The type of XFRACAS element (e.g., incident, problem, etc.) to import. Can be any XFRACASImportType constant. (Required)

xmlString


 * String. The string consisting of the XML to import.

fileTitle


 * String. The file title of the XML file byte array to import.

fileDescription


 * String. A description of the XML data to import. (Required)

Example
This example assumes that the repository is connected to an XFRACAS with existing entities.

VB.NET MyRepository Repository xmlString = ImportXMLSystemID ImportXMLSystemID = MyRepository.XFRACAS.ImportXFRACASXMLString(1, XFRACASImportType.Incident, xmlString,, )