Extra attachment meta data?

Is there any way to extend the meta data I can enter against an attachment? Maybe by using scaffolding to supplement the attachment info?

Currently, a file can be attached to a page and reported on using the reporting plugin, if wanted (maybe to neaten up the attachments report), but you can only store a comment against an attachment. I would also like to be able to hold things like "Status", "Location", "Document version" (not Confluence's version), etc.

I tried this, but the docStatus text-data field didn't seem to work?!?


{report-table}
{local-reporter:content:attachments}
{text-sort:content:title}
{local-reporter}
{report-column:title=Name|injected=true|link=true}{report-link:content:download path}{attachment-icon:contentType=%content type%|fileName=%file name%} %file name%{report-link}{report-column}
{report-column:title=Created Date|injected=true}%creation date > "d MMM yyyy kk.m"%{report-column}
{report-column:title=Description/Comment|injected=true}%comment%{report-column}
{report-column:title=Type|injected=true}%content type%{report-column}
{report-column:title=Status}{text-data:docStatus}{text-data}{report-column}
{report-empty}_No project documents yet_{report-empty}
{report-table}


Any thoughts?

Thanks
Martin
 
happy I’m ok
Inappropriate?
2 people have this question

User_default_medium