Go to file
Pramila Niroshan fccae9b8c0 Add Devices filtering by a Custom Property feature to API and dao layer (#208)
## 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>
2023-09-15 04:02:34 +00:00
.github Update stale.yml 2018-02-07 08:38:09 +05:30
.m2 Update copyright 2023-05-26 23:58:39 +05:30
components Add Devices filtering by a Custom Property feature to API and dao layer (#208) 2023-09-15 04:02:34 +00:00
features Update get Activities to increase the performance 2023-09-12 16:14:54 +05:30
.gitignore Add .factorypath file to gitignore 2021-11-12 16:05:26 +05:30
.gitlab-ci.yml Update .gitlab-ci.yml 2021-06-22 04:43:59 +00:00
.travis.yml Adding travis build config 2017-12-22 19:15:30 +05:30
issue_template.md Adding Issue Template 2017-09-26 09:36:40 +05:30
LICENSE Initial commit 2015-01-19 13:05:10 +05:30
pom.xml Fix the SSL error when invoking internal API via HttpClient (#215) 2023-09-05 07:58:13 +00:00
pull_request_template.md Update PR template 2022-11-23 18:52:19 +00:00
README.md Update Jenkins build status badge 2022-11-28 08:00:25 +05:30

Entgra Device Management Core