Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How report on selected list-data items?

Manuele B
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 8, 2012

Hi, I'm very new in using confluence

i have two group of pages: dealers and DMS. Each dms has a page in which he can associate a dealer using a data-list containing all the dealers pages.

|| *Dealers Primary Codes - Companies Names* ||
{table-data:dmsDealerMatching}
| {list-data:codeDealerList}
{content-options:parent=dealersSpace:dealerGroupPage}
{content-options}
{list-data} |
{table-data}

In each dealer page, I'd like to have listed all the DMS that have this dealer associated.

I tried many filtering, but without success.

{report-block}
{content-reporter:spaces=dmsDe|types=page|labels=dealer_list}

{text-sort:content:title}
{collection-filter:data:codeDealerList}
{text-filter:page:title|include=0110.*} 
{collection-filter}
{content-reporter}

{report-body} {report-info:content:title|link=true}{report-body}
{report-block}

I don't know if the collection-filter is appropriate in this case, and I'd also like to know how to filter specifically on the dealer page name: now I've put 0110.* which will match with the page where I'm testing, but I'd like this code to be equal for all dealer pages.

thanks

Manuele

1 answer

0 votes
James Lyons August 27, 2012

Getting data from multiple table-data macros is fairly easy, if that's what you want to do...

Isolate the pages with a local-reporter (you need a sort macro with this, sort by one of the values in the table)

Wrap that in an expanding reporter

Wrap that in a grouping reporter (you can use grouping stats here also).

I'm on 4 now so can't grab my old reports, try community.customware.net

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events