From 02ea1d97657ed81797e02ef80c7f89195cf82a27 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 11 Aug 2012 09:52:53 +0200 Subject: Add support for optional JSON fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These fields are only relevant in field templates (i.e. mongodb): a field for a non-existent CEE property is not created (instead of being set to an empty string). Signed-off-by: Miloslav Trmač --- doc/property_replacer.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/property_replacer.html b/doc/property_replacer.html index 86a07474..367603b7 100644 --- a/doc/property_replacer.html +++ b/doc/property_replacer.html @@ -486,6 +486,10 @@ Useful for secure pathname generation (with dynafiles). Useful for secure pathname generation (with dynafiles). + +optional-field +In templates that are used for building field lists (in particular, ommongodb), completely remove this field if the corresponding property is not present. Currently implemented only for the $!<name> properties. +

To use multiple options, simply place them one after each other with a comma delmimiting -- cgit