This question about Documentation: Answered

How to access TOPICTITLE preference from within a %SEARCH

I want to generate a list of topics that are child of the CahLabEs topic. Each element of this list should include the META:PREFERENCE:TOPICTITLE property of the given topic. I have tried different things without being able to access META:PREFERENCE:TOPICTITLE

   " = 'CahLabEs'" 
   format="| [[$topic]] | $meta(preference.topictitle) | $wikiusername |" 

-- GregoireLeclair - 22 Jul 2015

Here is a solution using DBCachePlugin

   format="| [[$web.$topic]] | $expand(topictitle) | $expand( |"

Note that the first column already displays the topic title rendering the link to the child topic.

Search itself is not able to access preference settings as part of the format string. You will have to use a nested QUERY macro to access values.

-- MichaelDaum - 09 Sep 2015

QuestionForm edit

Subject Documentation
Version Foswiki 2.0.0
Status Answered
Related Topics
Topic revision: r2 - 09 Sep 2015, MichaelDaum - This page was cached on 13 May 2019 - 05:11.

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