Interface DocumentAttachmentFileReference

All Superinterfaces:
DocumentFileReference, FileReference

public interface DocumentAttachmentFileReference extends DocumentFileReference
Represents an attachment file from the current Vault or from another Vault. Used by DocumentService when setting the source, rendition, or attachment file for a new document version.

To create object record attachments, see 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 - the version of the attachment. For example, 1.
      Returns:
      the current DocumentAttachmentFileReference instance