Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello there,
i want to build different actions based on the client the user is using:
- Desktop Client
- IE-Plugin
i already tried the functions ClientPlatform() and QlikViewVersion() but i'm still not able to differentiate.
Thanks for any Help.
i only found this difference and i will use this for now as a workaround.
the DocumentPath() Function returns a different output.
IE-Plugin -> all lower case
Desktop Client -> first letter upper case
i just used that to build my if condition:
=if(ord(left(DocumentPath(),1)) >= 82, 'IE-Plugin',
if(ord(left(DocumentPath(),1)) < 82, ' Desktop Client',
if(len(trim(ClientPlatform()))>0,' AJAX Client')))
Still interested in better solutions.
Thanks for any tips.
Best thing I have is the SDK/API Help, not exactly sure where to dig from there, likely the QMS APIs, but I realized the QVS Statistics area does not capture client type, so I am not sure there is an API to capture things. The QVS Session log writes the client after the end of the session as well, honestly do not know if there is a means to get hold of it at the start of the session, the QVS Audit logs maybe is the only thing of which I can think at the moment.
Regards,
Brett
https://help.qlik.com/en-US/qlikview-developer/April2019/Content/QV_HelpSites/APIsAndSDKs.htm