instanceFilter

instanceFilter: InstanceFilterDefinition | undefined

Instances filter that allows filtering content by class, properties of specific class or properties of instances related to the content instance.

This is different from fieldsFilterExpression as filter is applied at a lower level - on specific select class rather than a union of multiple select classes. This means the filter has access to properties of that class and they can be referenced using symbols like this.Property. This is useful for filtering instances of specific class.

Defined in

Last Updated: 21 November, 2024