New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Documentation, Missing functionality, Topic Markup Language and applications: Answered

Search for a topics children including the childrens children


I've been searching and searching to find the right way to do my search, but can't find anything that does what I want. What I want to do is this:

Lets say I have a topic called MicrosoftOutlook. On that topicpage I have 1 tabpane with 5 tabs; Main, Configuration, Routines, Instructions and Other.
Each tab uses INCLUDE to show the tabs content. The tab Configuration uses INCLUDE to show the topicpage OutlookConfiguration wich also contain a tabpane with 3-4 tabs. ie Databases, ServiceAccounts and so on.

What I want to do for a search is to show (on the topicpage MicrosoftOutlook) all the childtopics, including the childtopics childtopics. A kind of hierarchy map that looks like this:

MicrosoftOutlook I dont have access to install new plugins so I have to do it with the standard macros. I do have FoEachplugin though.

Is there a way of doing this using a search, format search, startsection or something?

I went through all the examples in the search cook book and all other topics that has examples on Search, format, formatlist and so on but still nothing that does what I want... frown, sad smile


-- AlfredHernandez - 02 Nov 2012

Perhaps HierarchicalNavigation is sufficient for your needs? It would be possible to add one more level of nested search.

-- ArthurClemens - 02 Nov 2012

We use foswiki also as documentation platform. Maybe the TreePlugin will help you.

-- KlausReithmaier - 02 Nov 2012

The problem is that I cant install these plugins. Im just a user, not admin for the plattform

-- AlfredHernandez - 12 Nov 2012

This can be done using nested search. Each level of nesting needs to escape the escapes. It is extremely slow and server intensive especially if there are a large number of hits at the highest level.

See System.FormattedSearch#Method_1_40nesting_with_escapes_41

Or as ArthurClemens mentioned, you might be able to use HierarchicalNavigation as a starting point to add another level of nested searches.

-- GeorgeClark - 14 Nov 2012

QuestionForm edit

Subject Documentation, Missing functionality, Topic Markup Language and applications
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r5 - 14 Nov 2012, GeorgeClark - This page was cached on 19 Aug 2018 - 03:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy