Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
mike_garcia
Luminary Alumni
Luminary Alumni

How to Know Which Client is being used?

Hello!

I need to determine which client is being used (Desktop / IE Plugin / AJAX or Mobile) to access an application. Based on that I will set a variable to show or hide certain Sheets. Is there a way to accomplish it?

Thanks in advance!

Miguel.

Miguel García
Qlik Expert, Author and Trainer
1 Solution

Accepted Solutions
mike_garcia
Luminary Alumni
Luminary Alumni
Author

Hello again.

A Colleague just gave me the solution:

There is a function, which I find a little mysterious because it is not in the Help area in QV Desktop, that works only in QV10. It is

ClientPlatform()
When using that function in QV Destop, it returns a blank string (not null). When using it via a published application in a QV10 Server, it returns:

  • For AJAX: browser.YOURBROWSER
  • For iPad Client: mobile.iPhone
  • For IE Plugin: A Blank String.


Those where my few tests and solved my question. I hope it will be helpful for someone else.

Regards,

Miguel.

Miguel García
Qlik Expert, Author and Trainer

View solution in original post

1 Reply
mike_garcia
Luminary Alumni
Luminary Alumni
Author

Hello again.

A Colleague just gave me the solution:

There is a function, which I find a little mysterious because it is not in the Help area in QV Desktop, that works only in QV10. It is

ClientPlatform()
When using that function in QV Destop, it returns a blank string (not null). When using it via a published application in a QV10 Server, it returns:

  • For AJAX: browser.YOURBROWSER
  • For iPad Client: mobile.iPhone
  • For IE Plugin: A Blank String.


Those where my few tests and solved my question. I hope it will be helpful for someone else.

Regards,

Miguel.

Miguel García
Qlik Expert, Author and Trainer