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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

464 views 19 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you