Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
gandalfgray
Specialist II
Specialist II

Detect type of client?

Hi

Is there a way to detect what type of client (plugin/ajax/java) that is currently running a QV-application, and based on that display different kind of objects?

5 Replies
Not applicable

ActiveDocument.GetApplication.QTProduct

Qlikview = client

QlikOcx = plugin

Use it to set a variable in OnOpen event and then condition objects displayed.

Regards,

Gordon







gandalfgray
Specialist II
Specialist II
Author

Hi Gordon

thanks for your suggestion, it gives part of the answer.

ActiveDocument.GetApplication.QTProduct returns:

Development client: "QlikView 64-bit Edition (x64)"

IE plugin client: "QlikOcx"

Ajax client: -

Java client: -

Is there a way to detect ajax and java to decide which one is being used?

Not applicable

in QV10 there is also a function Clientplatform()

gandalfgray
Specialist II
Specialist II
Author

Hi Jochem

I tried ClientPlatform() as you suggested, and it seems it can be used to see if you are running plugin or not at least.

It seems that if you use Plugin-client you get an empty response, and if using ajax-client you get "browser.MSIE 8.0" (or whatever you use)

(I can't find documentation for the ClientPlatform-function, though, where did you find that?)

Not applicable

here i found something about this function:

http://community.qlik.com/media/p/144232.aspx