Issue
- When trying to fetch the details of the "Navigation Menus" via the 'getNavigationMenu' Headless API, the 'Custom Field' data is not included in it.
-
Steps to reproduce:
1. Navigate to Control Panel > Configuration > Custom Fields > 'Site Navigation Menu Item' > Create a field using the text field.
2. Navigate to Site Builder > Navigation Menu > click on the '+' button > select 'Page' (any page) and fill in the 'Custom Field' value which appears on the right side and saves it.
3. Open the new browser's tab, hit the 'localhost:8080/o/api' > NavigationMenu > GET /v1.0/navigation-menus//{navigationMenuId} > enter the 'navigationMenuId' (it can be seen from the URL like 'siteNavigationMenuId=34026')
4. Click on the 'Execute' button, after that, in the 'Response Body', all details are available except 'Custom Field'.
Observed behavior: After fetching the data from getNavigationMenu API, the 'Custom Fields' data is not visible.
Expected behavior: After fetching the data from getNavigationMenu API, the 'Custom Fields' should be visible.
Environment
- Liferay DXP 7.4
- Liferay DXP 2023.Q3
- Liferay DXP 2023.Q4
- Liferay DXP 2024.Q1
- Liferay DXP 2024.Q2
Resolution
Additional Information
- If a hotfix is required or any more information on this, please create a support ticket requesting a hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.