CreateRelationDefinitionInput
Sets up a new relation definition.
CreateRelationDefinitionInputFields
Free-text note about the relation definition.
Display hint for clients such as Studio. See RelationDisplayCategory.
Global id the new relation definition gets: base64 of RelationDefinition:<raw id>. The raw id has letters and digits only, starts with a lowercase letter (e.g. productAccessories), can't match a card property id of either card definition, and can't change later.
Name of the relation definition.
Global id of the source card definition (CardDefinition.id). It must be ACTIVE.
Criteria on the source side, shaped as RelationDefinition.sourceCriteria, with camelCase keys. Exactly one dynamic item across sourceCriteria and targetCriteria; both its card properties must be indexed TEXT or LIST card properties (not both LIST, no format-only conversions) or the reserved id. Null = no criteria on this side.
Label for the relation on the source side, up to 255 characters.
Labels for grouping and filtering relation definitions.
Global id of the target card definition (CardDefinition.id). It must be ACTIVE.
Criteria on the target side, shaped as RelationDefinition.targetCriteria, with camelCase keys. Null = no criteria on this side.
Label for the relation on the target side, up to 255 characters.
Older way to set the order: a target card property id, used as BASED_ON_TARGET_PROPERTY sorting. Ignored when targetRelationSortingConfiguration is set.
How the target cards related to a source card are ordered. Null = no order, unless targetRelationOrderByProperty is set.
Was this page helpful?