Users may choose to upload attachment files to items. Not only can attached image files be included in reports and documents, information about all attachments can be included as well. This article describes how to configure a report or document so that information about all attachments is included.


Prerequisites


Any of the available field codes valid in the context of an attachment file can be included. 


Example Configuration

<Report>
    <ForEachAttachment>
        <Text>Name: #{Name}</Text>
        <Text>CreatedBy: #{CreatedBy}</Text>
        <Text>CreationDate:#{CreationDate}</Text>
        <Text>Comment: #{Comment}</Text>
        <Text>FileSize: #{FileSize}</Text>
        <Text>RevisionNo: #{RevisionNo}</Text>
        <Text>Hash: #{Name}</Text>
        <Image/> 
    </ForEachAttachment> 
</Report>

In context of an attachment file, <Image/> outputs an image file* as an image in the generated report. The following image file formats are supported: bmp, emf, ico, jpg, png, wmf.


Example Result