attachment-data example
An example how to use the output of attachment-data macro (e.g. display the uploaded picture without gallery macro) would be really really great.
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
-
Inappropriate?Hi Katharina,
I am not sure if reporting will support handling of attachment data as it is a lot of work to do file processing, however, I recommend using reporting in conjunction with other macros in order to achieve what you are trying to achieve, for example, here is a report that displays all .gif images on the page.
------------------------------------------
{report-block}
{local-reporter:content:attachments}
{text-filter:attachment:file name|include=.*.gif}{text-filter}
{local-reporter}
{report-body:injected=true}
!%attachment:file name%!
{report-body}
{report-block}
------------------------------------------
Regards,
Bo Wang
CustomWare -
Hi Katharina,
You can in fact reference them - it's similar to using an 'attachment-options' macro with 'list-data'. I've updated the documentation page for attachment-data with an example - check it out here.
Loading Profile...



EMPLOYEE