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 Using an extension: Answered

Access custom meta data from another topic

I would like to access the custom meta data added to a topic in a different topic. Is that possible and how?

As an example, I would like to add a list of entries that are not charged with their total money to be billed to the TimeTracker app main topic. From my understanding I would add a %SEARCH% or %DBQUERY% that finds all entries that are not charged. For each of these I would like to acces the stored hours and calculate the amount to be billed. With nested queries I would calculate the total amount per entry. Is that a good way to do that?

So, how can I iterate over all custum meta data of a topic?

-- DoHeide - 24 Oct 2017

Have a look at RENDERMETADATA or the native QUERY macro.

-- MichaelDaum - 24 Oct 2017

Thanks for the quick reply. I didn't realize that RENDERMETADATA can be used to produce a comma separated list.

-- DoHeide - 24 Oct 2017

QuestionForm edit

Subject Using an extension
Extension MetaDataPlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r3 - 24 Oct 2017, DoHeide - This page was cached on 21 Mar 2018 - 02:34.

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