mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
## Purpose * Related ticket https://roadmap.entgra.net/issues/10262 ## Description This modifed API accept any custom property key value pair as a encoded JSON String for filtering devices /devicescustomProperty=%7B%22FIRMWARE_APP_VERSION%22%3A%22122%22%2C%22FIRMWARE_VERSION%22%3A%22123%22%7D ## Add Custom property to mdm-ui-config.xml ``` <DeviceInfoConfigurations> <DeviceInfoItem> <DefinedValue>FIRMWARE_VERSION</DefinedValue> <DisplayValue>label_firmware_version</DisplayValue> <Type>deviceDetailsMap</Type> </DeviceInfoItem> <DeviceInfoItem> <DefinedValue>FIRMWARE_APP_VERSION</DefinedValue> <DisplayValue>label_app_version</DisplayValue> <Type>deviceDetailsMap</Type> </DeviceInfoItem> <DeviceInfoItem> <DefinedValue>FIRMWARE_SYSTEM_VERSION</DefinedValue> <DisplayValue>label_firmware_system_version</DisplayValue> <Type>deviceDetailsMap</Type> </DeviceInfoItem> </DeviceInfoConfigurations> ``` DefinedValue = Key_value in DM_DEVECE_INFO table DisplayValue = UI display text for filtering Type = Dont change Co-authored-by: pramilaniroshan <pramila@entgra.io> Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/208 Co-authored-by: Pramila Niroshan <pramila@entgra.io> Co-committed-by: Pramila Niroshan <pramila@entgra.io> |
||
|---|---|---|
| .github | ||
| .m2 | ||
| components | ||
| features | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .travis.yml | ||
| issue_template.md | ||
| LICENSE | ||
| pom.xml | ||
| pull_request_template.md | ||
| README.md | ||