---
schema_version: "1"
id: b0c5574b75c3f28fc71ac352a784652c1e075191036c6eeac7c2800c48b98adf
title: Child Relationship
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_child_relationship.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_child_relationship.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f1325daa315dc14e9188be78880a84b61b14065cd3d44556664ebd5b5b67c7db
description: The child relationship on a parent object. Relationships are connections between records. Use relationships to display data about related object records on a record's detail page.
---
# Child Relationship

The child relationship on a parent object. Relationships are connections between records. Use relationships to display data about related object records on a record's detail page.

<table class="featureTable sort_table" summary="">





          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d100467e51">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d100467e54">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d100467e57">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d100467e60">Filter Group and Version</th>

              <th class="featureTableHeader vertical-align-top " id="d100467e63">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d100467e51" data-title="Property Name"><samp class="codeph nolang">childObjectApiName</samp></td>

              <td class="entry" headers="d100467e54" data-title="Type">String</td>

              <td class="entry" headers="d100467e57" data-title="Description">The API name of the child object.</td>

              <td class="entry" headers="d100467e60" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d100467e63" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d100467e51" data-title="Property Name"><samp class="codeph nolang">fieldName</samp></td>

              <td class="entry" headers="d100467e54" data-title="Type">String</td>

              <td class="entry" headers="d100467e57" data-title="Description">The field on the child object that contains the reference to the parent
                object.<p class="p"> Instead of defining relationships through primary keys and foreign
                  keys, the Salesforce database uses reference fields. A reference field stores the
                  ID of the related parent record.</p>
              </td>

              <td class="entry" headers="d100467e60" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d100467e63" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d100467e51" data-title="Property Name"><samp class="codeph nolang">junctionIdListNames</samp></td>

              <td class="entry" headers="d100467e54" data-title="Type">String[]</td>

              <td class="entry" headers="d100467e57" data-title="Description">The names of the <samp class="codeph nolang">JunctionIdList</samp> fields
                associated with an object. Each ID is a polymorphic key, which is an ID that can
                refer to more than one type of object.</td>

              <td class="entry" headers="d100467e60" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d100467e63" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d100467e51" data-title="Property Name"><samp class="codeph nolang">junctionReferenceTo</samp></td>

              <td class="entry" headers="d100467e54" data-title="Type">String[]</td>

              <td class="entry" headers="d100467e57" data-title="Description">A collection of object names that the polymorphic keys in the <samp class="codeph nolang">junctionIdListNames</samp> property can reference. <p class="p">You
                  can query these object names.</p>
              </td>

              <td class="entry" headers="d100467e60" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d100467e63" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d100467e51" data-title="Property Name"><samp class="codeph nolang">relationshipName</samp></td>

              <td class="entry" headers="d100467e54" data-title="Type">String</td>

              <td class="entry" headers="d100467e57" data-title="Description">The name of the relationship. <p class="p">A name for the child relationship that is
                  unique to the parent. The name is the plural form of the child object name. For
                  example, Account has child relationships to Assets, Cases, and Contacts, among
                  other objects. Account has a <samp class="codeph nolang">relationshipName</samp>
                  for each object: <samp class="codeph nolang">Assets</samp>, <samp class="codeph nolang">Cases</samp>, and <samp class="codeph nolang">Contacts</samp>.</p>
              </td>

              <td class="entry" headers="d100467e60" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d100467e63" data-title="Available Version">41.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [Object Info](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_object_info.htm "The metadata for an object.")