Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mike_garcia
Specialist
Specialist

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
Specialist
Specialist
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
Specialist
Specialist
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