I know that generally, multiple exclusions with the documentTree macro work like this:
{{documentTree exclusions="document:mywiki:Panels.WebHome,document:mywiki:Sandbox.WebHome" /}}
However, I need to use the Velocity macro #documentTree
(based on {{template name="documentTree_macros.vm"/}}
in the first line) because there are other commands in the script which the standalone macro does not allow. Hence I would need the ‘value’ : ‘parameter’ syntax.
But this does not work, the exclusions are ignored:
#documentTree({
'exclusions' : 'document:mywiki:Panels.WebHome,document:mywiki:Sandbox.WebHome'
})
It works, at least for me, only with one exclusion. But not more than one.
How to do that? I’m trying for hours already in any syntax I can think of.