Legacy Knowledge Base
Published 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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

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