Get your own customer support community
 

how do I report download paths for each attachment on each page?

I've created a report that displays various page content including attachments(s). I want to link directly to the attachment rather than viewpageattachments. I've tried many different supplier combinations in the report-on macro as well and the report-info macro as well as using report-link but I can't get anything to work. Here is my code currently (everything works except the download path for which nothing displays):

{table-plus}
{report-table}
{content-reporter:spaces=LDDU|type=news}
{date-sort:news:creation date|order=descending}
{content-reporter}

{report-column:title=title}{report-info:content:title|link=true}{report-column}
{report-column:title=Date|width=150px}{report-info:content:modification date|format=MMMM d, yyyy}{report-column}
{report-column:title=mod date}{report-info:content:modification date|format=dd MMM}{report-column}
{report-column:title=last edited by|width=15%}{report-info:content:modifier|link=true}{report-column}
{report-column:title=attachments|width=15%}{report-on:News:attachments}{report-info:attachments|link=true}{report-column}
{report-on}
{report-column:title=attachments|width=15%}{report-on:content:attachments}{report-link:attachment:download path}{report-info:title}{report-link}{report-column}
{report-on}
{report-table}
{table-plus}

thanks for your help
 
sad I’m frustrated
Inappropriate?
1 person has this question

User_default_medium