Link fields contain only IDs of the referenced items


Description

When an item contains more than one link field, the Layout Service might render link fields as lists of IDs. Maximum depth is controlled by the serializationMaxDepth setting defined in App_Config\Sitecore\LayoutService\Sitecore.LayoutService.config by default. When this value is reached for at least one link, all other links are rendered as IDs without any additional data, like field values, even if the maximum depth has not been reached for these links.

The issue affects JSS 14.0.0 and 15.0.0 versions.

Solution

To resolve the issue, consider one of the following options: