macro_tagging

Macro Tagging operation

Synopsis

tagging_selection

Arguments:

ds: dataset name

tag: tag name

off: optional true or anything else

filter: optional name of applying filter

conditions: optional list of applying condition descriptors

in JSON string representation

zone: optional :

[ list of zone settings
[
[0]: zone name, string
[1]: [ variants ], list of strings
], ...
] in JSON string representation

Return value:

{ dictionary
"tags-state": indicator of tags update state
}

Description

The request operates over all tag with given name for variants present in root dataset.

If option off is true, the operation clears tag from all records of root dataset (see ws_tags for details).

If option off is not set to true, the operation marks all filtered records in current dataset with tag and text value of tag as "True", and also clears tag from all other records of root dataset.

Property tags-state is the same as in request :doc:ws_tags, see discussion here.

For details of arguments fiter, conditions, zone see ws_list

See also

ws_list

ws_tags