Skip to main content
Skip table of contents

Filter Query: Prefix Filter

Show only technical documentation for admins, which based on an existing file naming convention starts with “ADMIN”. We have to use the Nested Filter as the Media Type is a multi tagbox.

JSON
{ 
	"kind": "NestedFilter", 
	"path": "productDocumentation.mediaType", 
	"filter": {
		"kind": "PrefixFilter",
		"field": "productDocumentation.mediaType.code", 
		"prefix": "ADMIN"
	}
}

Basic Filter

Filter for content that has the defined prefix as the value in a defined field. This works best for fields that have a fixed prefix e.g. if you work with codes INT for internal, or SOCIAL for social media content.

JSON
{ 
	"kind": "PrefixFilter", 
	"field": "fieldpath", 
	"prefix": "Anniversary" 
}

Show content that has the prefix "anniversary" in the field for event name, to only show anniversary events.

Properties

kind

Required

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

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.street).

prefix

Required The value in the field, to be used as prefix.

Product Codes starting with FRU

Best suited for products following a strict naming convention. As you can add a prefix to your Camera for file naming you can also prepare the content with the correct "prefix" before uploading to Picturepark.  See here a Nikon tutorial on file naming. 

JSON
{ 
	"kind": "PrefixFilter", 
	"field": "productLayer.products.code", 
	"prefix": "FRU" 
}


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.