How to filter on space and on page
I have one space per project. Each space have a project status page.
I would like to create a report page that shows an excerpt from each status page but filter spaces on a label.
This is doing the excerpt trick but not the space filtering trick...
{report-block}
{content-reporter:spaces=@global|type=page|labels=+status}
{content-reporter}
{report-body}
{report-info:content:excerpt}
{report-body}
{report-block}
Any one can help?
Thanks!
I would like to create a report page that shows an excerpt from each status page but filter spaces on a label.
This is doing the excerpt trick but not the space filtering trick...
{report-block}
{content-reporter:spaces=@global|type=page|labels=+status}
{content-reporter}
{report-body}
{report-info:content:excerpt}
{report-body}
{report-block}
Any one can help?
Thanks!
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?For performance reasons, I'd probably approach this from a different direction. If you have Reporting 3.2.0, you can use the 'Value Supplier' to get the label you want, then filter the contents of that based on space label. Eg:
{local-reporter:value:label status > label:content}
{content-filter:@self|type=page}
{content-filter:content:space|label=space_label}
{local-reporter}
I think that should work. If not, I have a couple of other ideas, let me know. -
Inappropriate?Thanks David, I will try this out this afternoon. Being relatively new to the reporting I am a bit puzzled by your suggestion, I was expecting more code...
Just to clarify, let me throw some pseudo code.
select spaces that matches a specific space label
select pages that matches a specific page label
display page content (using report-info)
done
done
FYI - This following excerpt works but rely entirely on page labels.
{report-block}
{content-reporter:spaces=@global|type=page|labels=+status,+sust}
{content-reporter}
{report-body}h4. {report-info:page:space|link=true}{report-body}
{report-body:title:AsOf}*As of* {report-info:data:AsOf}{report-body}{report-body:title:By} *by* {report-info:data:By}{report-body}{report-body:title:ProjectStatus} *Status* {report-info:data:ProjectStatus}{report-body}
{report-empty}_No project(s) in this stage at this time._{report-empty}
{report-block}
Thanks David, your suggestions are greatly appreciated.
I’m confident
Loading Profile...



EMPLOYEE