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