Get your own customer support community
 

Using macro-body for parameters to reporting-filters

I need to build a report that will be included in a page template where the report content must vary for each page built from the template, so to achieve this the report uses a text-filter include with the page title as reg-exp.

The users of this functionality will themselves create new pages from the template, but being non-technical they are not interested in entering the page title into the text-filter themselves. Therefore I need a way to automatically add the current page title into the text-filter tag dynamically. I've tried using injection (%page:title%), but that does not seem to work.

Would it be possible to provide filter parameters in the macro-body like this:
{text-filter:data:Fields|body=include}*.{report-info:page:title}*.{text-filter}

As you can see I've put a stand-alone report-info into the filter body, and added a parameter called "body" that lets you specify if the body content should be considered in pace of the "include" or "exclude" parameters.

Would it even be possible to put a stand-alone report-info like this inside a reporter?
 
silly I’m hopeful
Inappropriate?
1 person has this question

The company marked this question as answered.

See the changes made to this question
User_default_medium