Channel Filter: Show Virtual Type in Channel

Show only Virtual Type "Press Kit" with Layer "Publishing Information" in a Channel.

{ "kind": "AndFilter", "filters": [ { "kind": "TermFilter", "field": "contentSchemaId", "term": "PressKit" }, { "kind": "TermFilter", "field": "layerSchemaIds", "term": "PublishingInformation" } ] }
  • Will filter for all Content Items which have the Content Schema "PressKit".

  • Will filter for all Content Items which have the Layer "Publishing Information" assigned. 

  • The special field: contentSchemaIds has the Content Type (Virtual Type or File Type) names stored as a value for easy access. 

  • The special field: layerSchemaIds has the Layer names stored as a value for easy access. 

You can use contentTypeId for File Types too and e.g. show only Images in a Channel

{ "kind": "OrFilter", "filters": [ { "kind": "TermFilter", "field": "contentSchemaId", "term": "ImageMetadata" } ] }



 

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