Interface DocumentAttachmentFileReference

All Superinterfaces:
DocumentFileReference, FileReference

public interface DocumentAttachmentFileReference extends DocumentFileReference
Represents an attachment file from the current or from another Vault. Used by DocumentService when setting the source, rendition, or attachment file for a new document version. Starting from 23R3, we will support creating Object Record Attachments via RecordService.
  • Method Details

    • setAttachmentVersion

      DocumentAttachmentFileReference setAttachmentVersion(int attachmentVersion)
      Sets the version of a DocumentAttachment. Used to define the document-attachment version to reference when used as the attachment file for a new document version. Uses the most recent version if no version is provided.
      Parameters:
      attachmentVersion - version of an attachment. For example, 1.
      Returns:
      DocumentAttachmentFileReference