Skip to main content
Skip table of contents

Filter Query: Or Filter

Show Corporate or Event Content in a Channel.

CODE
{
    "kind": "OrFilter",
    "filters": [
        {
            "kind": "TermFilter",
            "field": "layerSchemaIds",
            "term": "CorporateLayer"
        },
        {
            "kind": "TermFilter",
            "field": "layerSchemaIds",
            "term": "EventLayer"
        }
    ]
}

Basic Filter

One or more of the provided criteria must be met.

JSON
{ 
    "kind": "OrFilter", 
	"filters": [ 
		{ filter1 }, 
		{ filter2 } 
	] 
}

Properties

kind

string, required

Filters

One or mutliple

Array of object, Nullable

Items with Layer Product Details OR Layer Product Marketing

CODE
// Complete example
{
    "kind": "OrFilter",
    "filter": [{
        "kind": "TermFilter",
        "field": "layerSchemaIds",
        "term": "ProductDetails" // ID of Layer, capitalized
    	},
		{
		"kind": "TermFilter",
        "field": "layerSchemaIds",
        "term": "ProductMarketing" // ID of Layer, capitalized
		}
	]
}


JavaScript errors detected

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

If this problem persists, please contact our support.