21 Oct
2016
21 Oct
'16
9:44 p.m.
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <[email protected]> wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro#HPa... As you can see the “parent’ parameter doesn’t seem to exist.. If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/ Otherwise you can use: {{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}} Thanks -Vincent
Thanks