text-filter include

  • 2
  • Problem
  • Updated 2 years ago
Hi

I am trying to run a report that is using text-filter to filter a list-data (using content:option)  against the current page name.

Therefore in simplistic terms I am trying to do

>          <ac:structured-macro ac:name="text-filter">
            <ac:parameter ac:name="">data:reliance</ac:parameter>
          </ac:structured-macro>

What I now need is the include parameter to reference the page title therefore something like

<ac:parameter ac:include="">%page:title%</ac:parameter>

I have tried all combinations I can thinkof, but nothing seems to work. When I go back into the macro, the text I have put in has not been accepted.

If I only have an exact value of %page:title% it works.....

Regards

Steve
Photo of Steve Boydon

Steve Boydon

  • 30 Posts
  • 3 Reply Likes
  • frustrated

Posted 2 years ago

  • 2
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Steve,

Sorry for the late reply.

Can you please share with us the  storage format of the page for further instigation ? 

Thanks.

Regards,
Suresh
(Edited)
Photo of Con

Con

  • 17 Posts
  • 0 Reply Likes
Thanks Suresh, I can confirm the Reporting 6.5.0 introduction of the "contains" field now does allow injection of the page title to dynamically filter the content.

{text-filter:data:initiative|contains=%page:title%}