IDs are shown instead of labels intermittently when using a nested relation


Description

On a Detail page, IDs might be displayed instead of labels intermittently when using a nested relation to the associated Entity definition. The issue occurs if the Label property that is used in the Display template of the associated Entity definition has not been included in the nested relation configuration.

If configuring a nested relation without adding the property or properties used in the Display template of the associated Entity definition, there is no advantage of the relation being nested. In this case, calls that use the associated Entity definition might slow down, and additional requests to the server are needed to fetch the correct display properties.

Solution

To resolve the issue, add Label as a nested property:

  1. On the Manage page, navigate to Schema.
  2. On the Schema page, search for and go to the required Entity definition.
  3. Click the required member group.
  4. Go to the required member in edit mode by clicking Edit from the Actions (three dots) menu.
  5. On the Advanced tab, select the Nested check box.
  6. In the Include properties menu, find and click Label.
  7. Click Add member:
    1.png
  8. Click Save.

Note: If you need to add any other property or properties that are used in the Display template of the associated Entity definition as nested, make sure that you follow steps 1-8 for those properties as well.