Moki provides the ability to create links using query string parameters to quickly filter devices based on custom data. Here is an example URL for:
https://<environment url>/aem?tenantid=<tenant ID>#/layout/mdm/devices?custom=true&<custom key>=<value>
There are 3 variable elements of the URL:
- <environment url> will be the domain name for your target environment
- <tenant ID> is the account identifier for your devices
-
- This is important if you will be going between accounts
-
- <custom key>=<value> is the name and value pair for the custom data on which you wish to filter
-
- To find the correct format of your custom variable key, simply select it in the filter in the UI and the actual key will be displayed in the light grey filter box above. Use that for your custom key
-
- Note: it is required to have the custom=true parameter somewhere in the query string