Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

gandalfgray
Valued Contributor

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?

Tags (4)
5 Replies
Not applicable

Detect type of client?

ActiveDocument.GetApplication.QTProduct

Qlikview = client

QlikOcx = plugin

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

Regards,

Gordon







gandalfgray
Valued Contributor

SV:Re: Detect type of client?

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

SV:Re: Detect type of client?

in QV10 there is also a function Clientplatform()

gandalfgray
Valued Contributor

SV:Re: SV:Re: Detect type of client?

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

Detect type of client?

here i found something about this function:

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

Community Browser