Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
zhadrakas
Specialist II
Specialist II

Identify if User is using Desktop Client or IE-Plugin

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.

2 Replies
zhadrakas
Specialist II
Specialist II
Author

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.

 

Brett_Bleess
Former Employee
Former Employee

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

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.