ContentInstancesOfSpecificClassesSpecification Interface

Creates content for ECInstance(s) of specified classes.

Note: this specification doesn't rely on selection. It always returns instances no matter what the selection is, so pre-filtering should be done in ContentRule condition and ContentInstancesOfSpecificClassesSpecification.instanceFilter.

Extends

Properties

Name Type Description
arePolymorphic undefined | boolean Should all ContentInstancesOfSpecificClassesSpecification.classes be treated polymorphically. Deprecated  
classes MultiSchemaClassesSpecification | MultiSchemaClassesSpecification[] List of ECClass specifications whose ECInstances should be selected.  
handleInstancesPolymorphically undefined | boolean Should instances be queried using a polymorphic query - from classes and all their  
instanceFilter undefined | string Condition for filtering instances of defined classes.  
specType ContentInstancesOfSpecificClasses Used for serializing to JSON.  

Inherited properties

Name Type Inherited from Description
calculatedProperties undefined | CalculatedPropertiesSpecification[] ContentModifiersList Specifications for including calculated properties
priority undefined | number ContentSpecificationBase Defines the order in which specifications are evaluated and executed.
propertiesDisplay undefined | PropertiesDisplaySpecification[] ContentModifiersList Specifications for customizing property display by hiding / showing them
propertyCategories undefined | PropertyCategorySpecification[] ContentModifiersList Specifications for custom categories.
propertyEditors undefined | PropertyEditorsSpecification[] ContentModifiersList Specifications for assigning property editors
propertyOverrides undefined | PropertySpecification[] ContentModifiersList Specifications for various property overrides.
relatedInstances undefined | RelatedInstanceSpecification[] ContentSpecificationBase Specifications for joining related instances
relatedProperties undefined | RelatedPropertiesSpecification[] ContentModifiersList Specifications for including properties of related instances
showImages undefined | boolean ContentSpecificationBase Should each content record be assigned an image id

Defined in

Last Updated: 13 June, 2024