Data from Attachments – Bookmark Templates

Use the following bookmark names for information related to a document’s Attachment tab (i.e., to the files and documents attached to the document).

Bookmark Name Explanation
DocAttachedFile_AttachedItemNumber The number of the Item to which the attachment is attached, if any.
DocAttachedFile_BinSize The size of the attached file in bytes.
DocAttachedFile_Cataloged The date the attached file was catalogued.
DV_DocAttachedFile_CatType The type according to the attached file’s Properties or the Doc type of the attached document.
DocAttachedFile_CheckedIn The date the attached file was last checked in.
DocAttachedFile_CheckedOut The date the attached file was last checked out.
DV_DocAttachedFile_CheckOutUser The name of the person who last checked out the attached file. Note: You can use Contact prefixes. (instead of the DV_ prefix) with this alias + fieldname.
DV_DocAttachedFile_ContainerKey The folder (if any) containing the attached file.
DocAttachedFile_FileName The name of the attached file.
DocAttachedFile_FileType The file type according to the file’s extension (e.g., .doc, .xls, .pdf, etc.).
DocAttachedFile_Keyword The keywords according to the attached file’s Properties.
DocAttachedFile_Note The note on the Attachment grid for this attachment.
DV_DocAttachedFile_MailRoute The Incl option on the Attachment grid (e.g., Always, PDF, etc.) for this attachment.
DocAttachedFile_LinkedItemKey The GUID of the Item to which the attachment is attached.
DV_DocAttachedFile_SourceContact The name of the Source Contact associated with the attachment. Note: You can use Contact prefixes (instead of the DV_ prefix) with this alias + fieldname.
DocAttachedFile_SourceBatchNo The Batch number according to the attached file’s Properties.
DocAttachedFile_RelationshipType The relationship between the attachment and the document with the attachment. Values can be P (for Parent), C (Child) or blank.
Note: This bookmark is mostly used as a filter (see xFilter in the Filter section).
DocAttachedFile_SourceDocNo xsfFile.sourceDocNo
DocAttchedFile_Keywords The Keywords according to the attached file’s Properties.
DocAttachedFile_Project The Project according to the attached file’s Properties.
DocAttachedFile_AttachedRevID The Revision ID according to the attached file’s Properties.
DocAttachedFile_AttachSeq The Sequence Number on the Attachment tab for this attachment.
DocAttachedFile_ReferenceDate The Reference Date according to the attached file’s Properties.

 

Note: You can use the following prefixes on DocAttachedFile_LinkedItemKey:

DTI_ for the title of the Item to which the Attachment is attached

DST_ for the description of the Item to which the Attachment is attached

For example, DTI_DocAttachedFile_LinkedItemKey

Tip: We offer a List of DV_ prefix bookmarks template you can use to see how your data will appear when you use (or not use) the DV_ prefix on applicable bookmarks. See KBA-01612.