Package com.veeva.vault.sdk.api.document
Interface DocumentAttachmentFileReference
- All Superinterfaces:
DocumentFileReference,FileReference
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 Summary
Modifier and TypeMethodDescriptionsetAttachmentVersion(int attachmentVersion) Sets the version of aDocumentAttachment.
-
Method Details
-
setAttachmentVersion
Sets the version of aDocumentAttachment. 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
-