So after looking through the API docs I see that $xwiki.searchDocuments is also
deprecated so I have updated my code to:
{{velocity}}
#set($query="where doc.space='$doc.getSpace()'")
#set($results = false)
#set($results = $services.query.xwql($query).execute())
#foreach($docname in $results)
#set
I am attempting to utilize the example code from the links I mentioned earlier
but update it to reflect that the parent-child relationship is deprecated under
the new Nested Pages concept. This is the code I have so far:
{{velocity}}
#set($query="where doc.space='$doc.getSpace()'")
#set($results
Never mind, I found these after I posted:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HCreateanewDocument
http://extensions.xwiki.org/xwiki/bin/view/Extension/Immediate+Children+Pages
I had search for this before but without including 'velocity' in the search I
was only getting th
I am creating a knowledge base for a local municipal code which follows a
typical book hierarchy. I plan on using nested pages to create a pages
hierarchy for navigating and searching the code text at different levels. For
example each end page would have a space path like so:
Title 19.Part 2.C