Plugin: Scaffolding Plugin, from version 2.2.x
Allows data to be grouped within a named data set.
This can be used as a replacement for the deprecated scaffold macro if you have existing data you need to access. Simply replace {scaffold:Name} with {group-data:Name}
{group-data:name} {xxx-data:sub-field} {group-data}
Hi,
I got following piece of code grouping some data:
{hidden-data} {group-data:grdIssueInfo} {page-info:title\|page=@self} \\ {text-data:txdIssueDesc\|type=area\|width=800px\|height=1000px} {text-data} {group-data} {hidden-data}
Now I want to retrieve all the data contained in the
{group-data:grdIssueInfo}
from another page.
This is done via a reporter with following line:
{report-body}{report-info:data:grdIssueInfo}{report-body}
This however returns nothing.
Addressing a particular part of the grouped data does work:
{report-body}{report-info:data:grdIssueInfo.txdIssueDesc}{report-body}
My idea was to use this group-data macro to be able to immediately retrieve all data inside the macro.
Is this possible?
Regards,
I.
'data:grdIssueInfo' should actually return a Map object. But, it won't display its contents by default. You can do something like this:
{report-on:data:grdIssueInfo > @all|separator=comma}{report-info:key}: {report-info:value}{report-on}
Alternately, you can plugin the 'data:grdIssueInfo > @all' into a local-reporter.
That's it, thanks.
Hi,
I got following piece of code grouping some data:
{hidden-data} {group-data:grdIssueInfo} {page-info:title\|page=@self} \\ {text-data:txdIssueDesc\|type=area\|width=800px\|height=1000px} {text-data} {group-data} {hidden-data}Now I want to retrieve all the data contained in the
{group-data:grdIssueInfo}from another page.
This is done via a reporter with following line:
{report-body}{report-info:data:grdIssueInfo}{report-body}This however returns nothing.
Addressing a particular part of the grouped data does work:
{report-body}{report-info:data:grdIssueInfo.txdIssueDesc}{report-body}My idea was to use this group-data macro to be able to immediately retrieve all data inside the macro.
Is this possible?
Regards,
I.
'data:grdIssueInfo' should actually return a Map object. But, it won't display its contents by default. You can do something like this:
{report-on:data:grdIssueInfo > @all|separator=comma}{report-info:key}: {report-info:value}{report-on}Alternately, you can plugin the 'data:grdIssueInfo > @all' into a local-reporter.
That's it, thanks.
I.