CustomObjectRecordRelationshipDefinition
One relationship a record can be linked through, as the record create/edit form needs it.
target_object_id is the far side of the relationship, in the same id space every lookup uses:
1 = Account, 2 = Contact, 3 = User, and anything else is a custom object definition id. Pass it to
customObjectLookupOptions to populate a picker.
type CustomObjectRecordRelationshipDefinition {
id: ID!
label: String!
allows_multiple: Boolean!
target_object_id: Int!
}
Fields
CustomObjectRecordRelationshipDefinition.id ● ID! non-null scalar
CustomObjectRecordRelationshipDefinition.label ● String! non-null scalar
CustomObjectRecordRelationshipDefinition.allows_multiple ● Boolean! non-null scalar
Decides whether the record may link one record through this relationship, or several.
CustomObjectRecordRelationshipDefinition.target_object_id ● Int! non-null scalar
Member Of
CustomObjectDefinition object


