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
%SEARCH{
"parent.name = 'CahLabEs'"
type="query"
nonoise="on"
format="| [[$topic]] | $meta(preference.topictitle) | $wikiusername |"
}%
--
GregoireLeclair - 22 Jul 2015
Here is a solution using
DBCachePlugin
%DBQUERY{
"parent='CahLabEs'"
format="| [[$web.$topic]] | $expand(topictitle) | $expand(info.author) |"
}%
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