Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to compare a scaffolding field in reporting plugin against current page

Steve Gerstner [bridgingIT]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2014

Hi,

I have two Templates A and B both using Scaffolding Plugin. In B I have a list-data with content options. In A I want a report over all pages using template B where the value of that scaffolding field is the current page.

Can someone help we?

Thanks in advance

Steve

1 answer

1 accepted

1 vote
Answer accepted
Steve Gerstner [bridgingIT]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2014

Ok, it's quite easy... after some hours of trying... :D

Let's assume, we have the following snippet (in good old wikimarkup)

{list-data:page}{content-options}{list-data}

All you have to do in your report on page A is to add a content filter like:

{content-filter:data:page > collection:first|scope=@self}

This only works, as long you are not able to select mutliple pages in your list ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events