Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

mike_garcia
Contributor III

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.

1 Solution

Accepted Solutions
mike_garcia
Contributor III

How to Know Which Client is being used?

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.

1 Reply
mike_garcia
Contributor III

How to Know Which Client is being used?

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.

Community Browser