Hi guys. I used attachment macro . I want to display the attachments of the page in a table. So I used the above mentioned macro. But the catch is I don’t want to display the image attachments in the table. Only the doc files. How do I do the programmatic filtering for the file type ?
You could install http://extensions.xwiki.org/xwiki/bin/view/Extension/Attachments%20Macro and edit the macro page. You’ll find the script that generates the table. Then perform any filtering you wish.