OBJECT
CustomEntityRelationEntity
Custom relation that links records of two entities through a pair of relation fields, one on each side.
link GraphQL Schema definition
- type CustomEntityRelationEntity {
- # True when the record is protected against deletion because it must always exist
- # in the space. Deleting a record that is not protected can still fail on other
- # checks. Read-only.
- : Boolean!
- # True when the record has unpublished draft changes, including pending
- # translation changes, that can be published.
- : Boolean
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Lookup field on the first side of the custom relation: the lookup field the
- # relation was created from.
- : FieldEntity
- # Lookup field on the second side of the custom relation, created automatically on
- # the linked entity.
- : FieldEntity
- # Condition limiting which records of the field_1 entity can be selected in
- # field_2, as a JSON object conforming to the `FieldFilter` type; empty for no
- # restriction.
- : JSONString
- # Condition limiting which records of the field_2 entity can be selected in
- # field_1, as a JSON object conforming to the `FieldFilter` type; empty for no
- # restriction.
- : JSONString
- # Id of the lookup field on the first side of the custom relation.
- : ID!
- # Id of the lookup field on the second side of the custom relation.
- : ID!
- # When true, one of the records linked through the relation can be marked as
- # primary. Cannot be switched back to false once enabled.
- : Boolean
- # When true, field2 offers only records related to the record being edited. Not
- # supported yet; must be false.
- : Boolean
- # When true, field1 offers only records related to the record being edited (e.g.
- # the contacts of its account).
- : Boolean
- # When true, the records linked through field1 are shown in a tab named tabName1.
- : Boolean!
- # When true, the records linked through field2 are shown in a tab named tabName2.
- : Boolean!
- # Name of the tab that shows the records linked through field1.
- : String!
- # Name of the tab that shows the records linked through field2.
- : String!
- # True when the entity configuration is published; false while it exists only as
- # an unpublished draft.
- : Boolean
- # Revision when entity was lastly changed.
- : Int
- # Permissions the current user has on this record, out of the requested ones.
- #
- # Arguments
- # permissions: Permissions to check; the result lists those the
- # current user has.
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- }
link Require by
- CustomEntityRelationDataEntityLink between two records made through a custom relation, such as an account linked to a custom entity record.
- CustomEntityRelationEntityEdgeA Relay edge containing a `CustomEntityRelationEntity` and its cursor.
- CustomEntityRelationRepositoryRead operations for CustomEntityRelation records.