Skip to content

Commit

Permalink
Item13883: Remove FormTypes documentation
Browse files Browse the repository at this point in the history
This isn't actually implemented. Foswiki 2.2 will remove the configure
setting, See Item14257
  • Loading branch information
gac410 committed Dec 20, 2016
1 parent 026a713 commit a1c4aef
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/data/System/VarQUERY.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1437230349" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1482207453" format="1.1" version="1"}%
%META:TOPICPARENT{name="Macros"}%
---+ QUERY -- get the value of meta-data
Uses the query syntax described in [[%SYSTEMWEB%.QuerySearch][QuerySearch]] to get information about meta-data from one specified topic.
Expand Down Expand Up @@ -32,10 +32,7 @@ See !QuerySearch for more details of how to write queries

Get configuration setting {NameFilter}:
%<nop>QUERY{"{NameFilter}"}%

List all the installed DataForm field types {FormTypes}:
%<nop>QUERY{"{FormTypes}[].types"}%
</pre>
</pre>
Plain strings (such as field values) are returned _without_ quotes. Simple arrays of scalars are also returned without quotes, in a comma-separated list (beware of values that contain commas!).

More complex data structures (e.g. arrays of hashes) will only be returned if =style="perl"= or =style="json"= are set - else will return a string containing 'undef'.
Expand Down

0 comments on commit a1c4aef

Please sign in to comment.