Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
ActiveDocument.GetApplication.QTProduct
Qlikview = client
QlikOcx = plugin
Use it to set a variable in OnOpen event and then condition objects displayed.
Regards,
Gordon
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?
in QV10 there is also a function Clientplatform()
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?)
here i found something about this function: