...
...
Excerpt | ||||||
---|---|---|---|---|---|---|
ContentSchemaCondition checks if any Content Item has the defined Content Schema (Virtual Type or File Type) and triggers then e.g. check for Content Schema "Images" to find all images. | ||||||
Tip | ||||||
|
Triggers the moment the selected Content Schema is
...
found.
Use Content Schema inside AND/OR to check for multiple Content Item Types
...
e.g. find documents and images.
Code Block | ||
---|---|---|
| ||
{ "kind": "AndCondition", "conditions": [ { "kind": "ContentSchemaCondition", "schemaId": "DocumentMetadata" }, { "kind": "ContentSchemaCondition", "schemaId": "ImageMetadata" } ] } |
...
Type-ahead and select the Content Type content type from the dropdown. The schemaID ID of the schema is used; Virtual so the Virtual Type ID or File Type ID is used in ID in the Business Rule, so you can update the name anytime.
Property | Value |
kind | ContentSchemaCondition |
schemaId | The ID of the Virtual Type or File Type to check. See Access Virtual Types or Access File Types for details, but except in the JSON, you don't have to worry about casing. |
...
Documents Only
Code Block |
---|
{ "kind": "ContentSchemaCondition", "schemaId": "DocumentMetadata" } |
...