actualPrimaryClassIds

Beta  

actualPrimaryClassIds: string[]

When content descriptor is requested in a polymorphic fashion, fields get created if at least one of the concrete classes has it. In certain situations it's necessary to know which concrete classes caused that and this attribute is here to help.

Example: There's a base class A and it has two derived classes B and C and class B has a relationship to class D. When content descriptor is requested for class A polymorphically, it's going to contain fields for all properties of class B, class C and a nested content field for the B -> D relationship. The nested content field's actualPrimaryClassIds attribute will contain ID of class B, identifying that only this specific class has the relationship.

Defined in

Last Updated: 30 November, 2023