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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible that an object is visible only if the qlikview client is not a web client.

Hi,

I've programmed a button that executes a macro in qlikview. It works fine in the server but it doesn't work in the web client.

I would like to know if  It's possible to run a macro in a web client or

if there are some ways to hide the button than executes the macro only if the client is a web client and It's visible if the client is not a web client.

Thanks in advance.

5 Replies
petter
Partner - Champion III
Partner - Champion III

Macros can be run also from the Full Browser (Ajax) client - although there are serious limitations on what they can do. UI related things for instance will not work.Furthermore Macros run single threaded and might seriously hamper performance run on a server - or even locally on a laptop these days.

petter
Partner - Champion III
Partner - Champion III

There is a System Function called

ClientPlatform( )


Which will for an Ajax / Full browser return the specific browser... That could be used in a show condition for the button.

petter
Partner - Champion III
Partner - Champion III

System Functions

ClientPlatform( )

Returns the name of the platform the client is using, for example, Mobile.iPhone.

All mobile clients start with Mobile, a period sign and the type of mobile device. Clients using AJAX will return Browser.Nameofbrowser, for example Browser.Firefox.

Note!
The function will only return the client type for those clients using the QVPX protocol, that is the mobile clients and the AJAX client.

Not applicable
Author

Thanks a lot Peter.

petter
Partner - Champion III
Partner - Champion III

Just fun to be able to help