Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
I 'm looking for something with API to read a custom property or tag from an app.
I can't find anything to do this .
I am using require["js/qlik"] and the qlik.getAppList. This information is not available in the response.
Is it possible using another API ? I'm using a virtual proxy
Thanks for your reply.
I can successfully call the QRS API through a http request from server to server https://<server>:4242/qrs/app/full with the certificate authentication.
ex : a call to wss://<server>:4243/<virtualproxy>/qrs/app/full
Is it possible ?
No, you cannot call the QRS API over websockets. Why do you want to call it over web socket??
If there is no other option i will write the app list from server with QRS API response instead of doing it with the websocket qlik.getAppList response
You could use the callRepository method, though I've seem that Qlik has marked it as deprecated, so it might be removed in a future release.
Is it possible to filter (e.g.) apps by custom property value? The general filter documentation doesn't give any help past simple expressions, but I've noticed that for example ?filter=stream.name+eq+'Whatever' works. However, both tags and custom properties are contained in arrays. Is there any way to search for items which have a particular value anywhere in an array? Is it even possible to filter on properties that are not part of the "Condensed" version of the object?
OK, tags.name eq 'Foo' works. customProperties.value and customProperty.definition.name can also be checked for in the same way, but is it possible to match only apps where it's the same property that has the given name and value?
Not sure if I understand what you mean by "same property that has the given name and value", but you can use custom properties in filters like this:
GET https://my.server.com/qrs/app?filter=@MyProp eq 'X'
That query will return all apps which have been assigned the value 'X' for the custom property 'MyProp'.