ATTACHMENTINFO

Gets the XML definition of an attachment. For example:
<Table><Row name="MyDocument"><Property name="Type" value="Attachment" />
<Property name="Address" value="MyDocument" /><Property name="FileName" value="MyDocument.docx" />
<Property name="AddedDate" value="42062.440529" /><Property name="Author" value="admin" /></Row>
</Table>

Optionally, you can specify a property of the attachment and return only the value of that property.

Syntax

=ATTACHMENTINFO("Attachment unique name", "[PropertyName]").

The unique name of an attachment is its filename, less the file extension. You can view attachments in Repository Administration.

Examples

This example returns the XML definition of the specified attachment:

=ATTACHMENTINFO("MyDocument")

This example returns the value of the Author property:

=ATTACHMENTINFO("MyDocument","Author")