Configuring the Parent Field Property For Address 3 Records

Problem

In Reach, while configuring the Parent field property for the State and County fields for Address 3 records of the Address entity, the Bind to a value on a field drop-down does not display Address 3 fields for selection.

As a result, user is unable to add parent fields for the State and County fields for the Address 3 records.

Solution

The parent fields for the State and County fields of the Address 3 records must be added manually in the XML files of the Contact form and then the Reach solution must be exported to view the parent field binding.

The following topic provides the instruction to add the ParentEntity tags for the State and County fields for Address 3 fields.

Steps to add ParentEntity tags for the State and County fields

  1. Open the XML file.

  2. Locate the following code:

    <Field>address3_stateorprovince</Field>

  3. Add the <ParentEntity> tag as shown in the red text below:

    <parameters>

    <Field>address3_stateorprovince</Field>

    <FilterByDisplayName static="true" type="Enum">Display Shorter Code</FilterByDisplayName>

    <Dependency static="true" type="Enum">Yes</Dependency>

    <OptionSetSchemaName static="true" type="SingleLine.Text">cmc_stateprovince</OptionSetSchemaName>

    <ParentEntity>address3_country</ParentEntity>

    <WebResourceURL static="true" type="SingleLine.URL">/WebResources/cmc_/dist/app/Common/addresscountrystatemapping.js</WebResourceURL>

    <ResourceParent static="true" type="SingleLine.Text">cmc_country</ResourceParent>

    <ResourceChild static="true" type="SingleLine.Text">cmc_stateprovince</ResourceChild>

    </parameters>

  4. Locate the following code:

    <Field>address3_county</Field>

  5. Add the <ParentEntity> tag as shown in the red text below:

    <parameters>

    <Field>address3_county</Field>

    <FilterByDisplayName static="true" type="Enum">Display Shorter Code</FilterByDisplayName>

    <Dependency static="true" type="Enum">Yes</Dependency>

    <OptionSetSchemaName static="true" type="SingleLine.Text">cmc_county</OptionSetSchemaName>

    <ParentEntity>address3_stateorprovince</ParentEntity>

    <WebResourceURL static="true" type="SingleLine.URL">/WebResources/cmc_/dist/app/Common/addressstatecountymapping.js</WebResourceURL>

    <ResourceParent static="true" type="SingleLine.Text">cmc_state</ResourceParent>

    <ResourceChild static="true" type="SingleLine.Text">cmc_country</ResourceChild>

    </parameters>