Dashboard > Atlassian Plugins > ... > Suppliers > Attachment Supplier
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  Attachment Supplier

Added by David Peterson , last edited by David Peterson on Sep 02, 2008  (view change)
Labels: 

Summary

Supplies information about attachments in Confluence.

Key names are case-sensitive. That is, you must supply a key of "id" rather than "ID".
You can also use any key from the Content Supplier using the 'attachment:' prefix. For example, you can use 'attachment:id', instead of 'content:id', even though 'id' is not listed explicitly below.

Details

Name: Attachment Supplier
Prefix: attachment (optional)
Supported Content: Attachments
Provided By: Reporting Plugin, from version 3.0.0

Keys Supported

The following are the list of keys which this supplier will return a value for.

Key Content Types Return Type Description
download path Attachments Text The path to the download location for the attachment.
file name Attachments Text The file name of the attachment.
file size Attachments Number The length of the file in bytes.
nice file size Attachments Text The length of the file, described in bytes, kilobytes or megabytes, depending what makes the most sense.
content type Attachments Text The content (MIME) type.
comment Attachments Text The attachment comment text.
attached to Attachments Content The content the attachment is attached to. Likely to be a Page or News item.
attachment version Attachments Number The attachment version number.
space Attachments Space The space the attachment is in.

Related Suppliers

Content Supplier

Hi,

Is there a way to create a global space report showing the attachements that a user has attached to pages.

I've gotten the user modifications to pages figured out, but am getting stuck trying to get the attachement data.

Thanks,

R

take a look at the content supplier it has creator.  i think the message at the top is saying you can do attachment.creator even though creator isn't listed in the keys list.

Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators