legacy-knowledge-base
公開されました Jun. 30, 2025

Form Container does not display relationship field for parent object

written-by

Jose Bodega

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • I have an object A with a one-to-many relationship to object B. When I add a Form Container to a page and map it to object A, I cannot select the related object B entries.

Environment

  • Liferay DXP 7.4+

Resolution

Liferay Forms does not currently support mapping object relationships to form fields when the form is mapped to the parent object. The relationship field is created on the child object (object B in this case).

To use the relationship field in a Form Container, map the form to the child object (object B). The relationship between the entries is established from the child object.

For more information on how to work with object relationships, refer to the Designing Object Layouts documentation: Designing Object Layouts

Additional Information

 

did-this-article-resolve-your-issue

legacy-knowledge-base