RestrictToItemNames (NotesDXLExporter - LotusScript®)

Read-write. Specifies a list of item names to be included in documents in the exported DXL. The DXL will only contain <item> elements with one of the names on the list.

Note: This property is new with Release 8.

Defined in


Data type

Array of type String


To get: variant = notesDXLExporter .RestrictToItemNames

To set: notesDXLExporter .RestrictToItemNames = variant


When there is a conflict between OmitItemNames and RestrictToItemNames, OmitItemNames takes precedence.

Use this option to save space and improve Exporter performance when exporting documents by exporting only those items that are needed. Use with caution if the DXL will later be imported, because the new documents created by the Importer will only be partial copies of the original documents.

Return value

If RestrictToItemNames has not been assigned, this property returns EMPTY.