/
Filter Query: Term Filter

Filter Query: Term Filter

Filter for Content with the Migration Layer added and the term “Product” as keyword assigned.

{ "kind": "AndFilter", "filters": [ { "kind": "TermFilter", "field": "layerSchemaIds", "term": "MigrationLayer" //Layer ID capitalized }, { "kind": "NestedFilter", "path": "migrationLayer.keywords", "filter": { "kind": "TermFilter", "field": "migrationLayer.keywords.name", "term": "Product" } } ] }

Basic Filter

Filter for content that have the exact term in a field. Can be used for single tagbox directly. For multi tagbox a nested filter must be used in combination with the term filter.

The term must be an exact match.

{ "kind": "TermFilter", "field": "fieldpath", "term": "Europe" }

Properties

kind

Required

Which filter to use, as string e.g. "TermFilter"

field

Required

The field's name to execute the filter on. It is composed by the field ids of the hierarchy joined with "." (i.e. personLayer.address.region).

term

Required

The value in the field, to be used as term. It must be an exact match, so The term filter on "Europe" does not find "Western Europe", but only "Europe".

 

Related content

Filter Query: Terms Filter
Filter Query: Terms Filter
More like this
Filter Query: And Filter
Filter Query: And Filter
More like this
Filter Query: Or Filter
Filter Query: Or Filter
More like this
Filter Query: Not Filter
Filter Query: Not Filter
More like this
Filter Query: Nested Filter for Multi Tagboxes
Filter Query: Nested Filter for Multi Tagboxes
More like this
Query Filters
Query Filters
More like this

FotoWare Switzerland AG - CH-5033 Buchs - Switzerland
https://picturepark.com - support@picturepark.com
© 2023 FotoWare Switzerland AG