XmlExportEnabled

This property sets or returns whether the field is included in the exported XML file.

Note: The
FieldCount
attribute of the XML
Fields
element contains the total number of fields in the workdoc, not the number of exported fields.

Set the property to False to exclude the field from the exported file.

The default value is True.

Syntax

XmlExportEnabled as Boolean

Sample Code

The following sample code disables the XML export of field data for field names that start with "tmp".

Dim i As Long Dim currentField As ISCBCdrField For i = 1 To
				pWorkdoc.Fields.Count Set currentField = pWorkdoc.Fields.ItemByIndex(i) If
				Left$(currentField.Name,3) = "tmp" Then currentField.XmlExportEnabled = False End If
				Next i 

See also

  • ExportDocumentToXml

  • "Export to XML" in the Brainware Intelligent Capture Runtime Server Help.