{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "UIObjectRelationConfig - Metadata API",
"description": "Represents the admin-created configuration of the object relation UI component.",
"file_information": ".uiObjectRelationConfig",
"directory_location": "uiObjectRelationConfigs",
"fields_columns": [
"type",
"required",
"description"
],
"fields": {
"contextObject": {
"type": "string",
"required": true,
"description": "The object that provides the context for this object relation configuration."
},
"contextObjectRecordType": {
"type": "string",
"description": "The record type of the context object for this configuration, if applicable."
},
"directRelationshipField": {
"type": "string",
"description": "For direct relationships, the child relationship field on the related object that matches the context object."
},
"indirectObjectContextField": {
"type": "string",
"description": "For indirect relationships, the field on the junction object that matches the context object."
},
"indirectObjectRelatedField": {
"type": "string",
"description": "For indirect relationships, the field on the junction object that matches the related object."
},
"indirectRelationshipObject": {
"type": "string",
"description": "For indirect relationships, the junction object representing the relationship between the related object and its context object."
},
"isActive": {
"type": "boolean",
"description": "Indicates whether the configuration is active (true) or not (false)."
},
"masterLabel": {
"type": "string",
"required": true,
"description": "Label for the UIObjectRelationConfig. In the UI, this field is UI Object Relation Config."
},
"relatedObject": {
"type": "string",
"required": true,
"description": "The object containing the data that this object relation configuration displays."
},
"relatedObjectRecordType": {
"type": "string",
"description": "The record type of the related object for this configuration."
},
"relationshipType": {
"type": "ObjectRelationshipType (enumeration of type string)",
"required": true,
"description": "A string indicating the type of relationship between the related object and context object.Valid values are: Direct Indirect InverseDirect Self"
},
"UIObjectRelationFieldConfigs": {
"type": "UIObjectRelationFieldConfig[]",
"description": "Provides a configuration for an object relation field on a specific row of content."
}
},
"sub_types": {
"UIObjectRelationFieldConfig": {
"displayLabel": {
"type": "string",
"required": true,
"description": "A string containing the user-defined label for this field, to be displayed on each object relation of this type."
},
"queryText": {
"type": "string",
"required": true,
"description": "A case-insensitive template query for generating the content in this field."
},
"rowOrder": {
"type": "int",
"required": true,
"description": "Determines the top-to-bottom display order of this field on the object relation UI."
}
}
},
"wsdl_segment": "```xml\n\n \n \n \n\n\n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "This is an example of a UIObjectRelationConfig component.",
"code": "\n \n \n Address:\n {\n \"startNode\": {\n \"initialObject\": \"RelatedObject\"\n },\n \"traversalNodes\": [],\n \"fieldNode\": {\n \"fieldEnumOrId\": \"ShippingAddress\"\n }\n }\n 1\n \n \n Phone:\n {\n \"startNode\": {\n \"initialObject\": \"RelatedObject\"\n },\n \"traversalNodes\": [],\n \"fieldNode\": {\n \"fieldEnumOrId\": \"Phone\"\n }\n }\n 2\n \n \n Fax:\n {\n \"startNode\": {\n \"initialObject\": \"RelatedObject\"\n },\n \"traversalNodes\": [],\n \"fieldNode\": {\n \"fieldEnumOrId\": \"Fax\"\n }\n }\n 3\n \n \n Parent Organization:\n {\n \"startNode\": {\n \"initialObject\": \"RelatedObject\"\n },\n \"traversalNodes\": [\n {\n \"destinationObjectEnumOrId\": \"Account\",\n \"fieldEnumOrId\": \"ParentId\",\n \"traversalDirection\": \"parent\"\n }\n ],\n \"fieldNode\": {\n \"fieldEnumOrId\": \"Name\"\n }\n }\n 4\n \n Contact\n AccountId\n true\n Sample Primary Account Configuration\n Account\n Direct\n \n \n \n \n \n "
}
]
}