OmitRichtextAttachments (DxlExporter - Java)

Read-write. Specifies whether to omit richtext attachments that occur within documents.

Note: This property is new with Release 8.

Defined in


Data type



public boolean getOmitRichtextAttachments()
    throws NotesException
public void setOmitRichtextAttachments(boolean flag)
    throws NotesException

Legal values

  • True indicates the Exporter should omit any attachments that occur within documents. Use this option to save space and improve Exporter performance when exporting documents whose attachment data is not needed.
  • False (default) indicates all attachments will be included in the DXL output.


Omitting an attachment from a document affects both the <attachmentref> within <richtext> that refers to the attachment's file object, and the corresponding <item> with name='$FILE' that contains the file object data. Use AttachmentOmittedText to specify replacement text (if desired) for where the <attachmentref> is omitted.