UncompressAttachments (NotesDxlExporter - JavaScript)

Read-write. Specifies whether to uncompress attachments that occur anywhere within the exported DXL.

Defined in

NotesDxlExporter

Syntax

getUncompressAttachments() : boolean

setUncompressAttachments(flag:boolean) : void

Legal value Description
True (default) indicates the Exporter should uncompress any Huffman or LZ1 compressed attachments. The resulting DXL will have a <file> element with a compression attribute of none and a desiredcompression attribute of either huffman or lz1. If this DXL is subsequently imported, the desiredcompression value will be read and the DXL Importer will recompress the attachment back to its original compression. To prevent the attachment from being recompressed upon import, the desiredcompression attribute can be removed programmatically.
Note: Prior to release 8, LZ1 attachments were never uncompressed by the DXL Exporter.
False indicates the Exporter will export all attachments as they are. Compressed attachments will not be uncompressed. If the attachment data is not needed externally to Domino®, and only for "round-tripping" (exporting then importing), this is more efficient.