Tags:
create new tag
view all tags

Question

I'm trying to search for all topics that are children of a given topic, but where the children reside in a different webs.

e.g. if I place the following in Main.TopicOne

%METASEARCH{type="parent" web="Main" topic="%TOPIC%" title="Child Topics: "}%
it gives me all the child topics of TopicOne within the Main web. But if WebTwo.TopicTwo has Main.TopicOne as its Parent, it will not show up in the above search even if I change it to web="".

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- DarylGordon - 26 Jul 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You can use a %SEARCH{}% in all webs or selected webs searching for the parent meta data, such as %SEARCH{ "META:TOPICPARENT.*\"Myweb.MyTopic\"" type="regex" web="Otherweb1, Otherweb2" .... }%

-- PeterThoeny - 03 Sep 2007

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-09-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.