ATTACHMENTINFO

This function returns 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>

If you specify a property of the attachment, the function returns only the value of that property. These properties are supported:

  • Address
  • FileName
  • AddedDate
  • Author
  • AdditionalInformation
  • References

Syntax

=ATTACHMENTINFO("attachment_uniquename", [,"PropertyName"]).

The unique name of an attachment is its filename, without the file extension. You can view attachments in Infor d/EPM Platform services. Select Dashboards > Applications Administration > Attachments.

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")