Issue
- When making a request using a forms API such as the getFormRecord endpoint, the response returns the default Field Name(e.g. “Text12345”) instead of the newly created field Reference value on a field.
Environment
- DXP 7.3
- DXP 7.4
Resolution
- This is the expected behavior as the Field Reference did not exist when the Forms headless API was created. This means the API only returns the Field Name.
- All form field types have the following fields:
- Field Name: This field has existed in all previous versions (7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x).
- Field Reference: This field was introduced in version 7.3.x.
Additional Information
- The Headless Form API has been deprecated: LPS-125528. This means it is no longer supported by Liferay.
- See Workaround for deprecated Liferay "Forms" headless API for suggested workarounds.