Can we add a content/page key for the Scaffolding data supplier?
I sometimes need to use a {report-on} macro with the injected parameter to cycle through Scaffolding data that is a collection (e.g. {list-data} with the multiple parameter set as true). If this {report-on} is within another context, such as a {report-column}/{report-list}/{report-block}, the injected parameter cannot be used for the enclosing context, otherwise there's ambiguity.
I have not figured out a way to use the Reporting supplier (e.g. report:parent or report:content) to back up to the enclosing context within a keychain within the iterated inner (report-on) context.
If the data supplier had a page parameter, this would be one way to 'back up' to the page on which the data is found, and then continue to key chain to obtain the desired information.
Perhaps there's a better way you could help identify...
I have not figured out a way to use the Reporting supplier (e.g. report:parent or report:content) to back up to the enclosing context within a keychain within the iterated inner (report-on) context.
If the data supplier had a page parameter, this would be one way to 'back up' to the page on which the data is found, and then continue to key chain to obtain the desired information.
Perhaps there's a better way you could help identify...
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
The company implemented this idea.
-
Inappropriate?Hi,
if i understand you right this is sure possible.
You can use multiple injected=true in reports but you have to add a percent sign for each injected=true
e.g.
{report-table:injected=true}
{local-reporter:content:children|Source=Anywhere}
{local-reporter}
{report-column}%content:title%{report-column}
{report-column}{report-on:data:ldList|injected=true}this is just a value out of this list
%%reference:value%% with the id of the outer context %content:id%{report-on}{report-column}
{report-table}
With this double injection you could also paste the output of one report into the filter (e.g. text-filter) of an inner report.
If you want to set the context to the page where you have your markup it can be done like this
{report-block}
{local-reporter:content:children|Source=Anywhere}
{local-reporter}
{report-body:injected=true}{report-on:report:root content}{add-label:%content:title%}{report-on}{report-body}
{report-block}
Maybe anything of this might be a help for you
regards Christian -
Inappropriate?Thanks..double percentage sign works!
Loading Profile...


