Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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.
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.
Thanks a lot Peter.
Just fun to be able to help