Mnemo
13 July 2023 03:23
1
Hi,
I was trying on the Suitecrm V8 Api and able to retrieve the fields for AOS_Products from the api. However, the enum datatypes does not return the list of the dropdown. May I know how to achieve this or is there any way to get all enum list thru the Api?
The api that I used is /legacy/Api/V8/meta/fields/AOS_Products, GET method.
Suitecrm version: 8.2.0
aftab
11 January 2024 13:15
2
Facing this same issue. Did you find any solution for this?
Mnemo
29 January 2024 04:04
3
Hi @aftab ,
I created a new custom api request to get the enumlist from $GLOBALS[‘app_list_strings’].
1 Like
For those trying to do this, there is an un merged hot fix that works great and with a minor addition by me to also get dymanicenum field values:
hotfix ← ssamko0911:fix-api-drop-down
opened 10:41PM - 13 Jan 25 UTC
## Description
See the issue:
https://github.com/salesagility/SuiteC… RM/issues/8622
## Motivation and Context
## How To Test This
See the issue:
https://github.com/salesagility/SuiteCRM/issues/8622
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [x] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [ ] My change requires a change to the documentation.
- [x] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.