This question about Using an extension: Answered



Can anyone give me a syntax example for the RENDERMETADATA plugin? I have a dataform attached to page, and I want the values from that data form to appear in the page (not in the form at the bottom). EG: for the "Owner" field, I write the following: %RENDERMETADATA{field="Owner"}% but nothing happens. Not sure if I'm completely barking up the wrong tree.

-- WilliamMorgan - 18 Mar 2014

If you simply want to pull the data from a formfield, you can use the %QUERY macro, for example %QUERY{"'%TOPIC%'/Version"}% will insert the Version field from the current topic here: Foswiki 1.1.4

I've not used the MetaDataPlugin, so I can't comment on that plugin.

-- GeorgeClark - 18 Mar 2014

Try %RENDERFORDISPLAY / %RENDERFOREDIT from FlexFormPlugin. They both use a similar syntax like %RENDERMETADATA of MetaDataPlugin.

The latter reads custom %META:... data being attached to a topic, not the normal DataForms being attached to a topic.

-- MichaelDaum - 18 Mar 2014

-- ReneMenke - 25 Dec 2015

QuestionForm edit

Subject Using an extension
Extension MetaDataPlugin, FlexFormPlugin
Version Foswiki 1.1.4
Status Answered
Related Topics
Topic revision: r4 - 25 Dec 2015, ReneMenke - This page was cached on 23 May 2019 - 13:14.

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