Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to run macros in webview

I have written a trigger events on following,

Sheet1 : onActiveSheet

Sheet2 : onLeave

selection field vName : onSelect

I want to change position of text object of Sheet2 by selection on Sheet1 in Webview.

or else is there any macro to bind action event through macro.

for more details please find attached file.

2 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

In WebView (which largely corresponds to the AJAX client) you can't change the layout of your objects or sheets using macros. The problem is that your WebView is assembled using HTML and JavaScript and not using the COM API of the default QlikView client. So macros don't have hooks to grab in the WebView/AJAX client.

Not applicable
Author

Thanks a lot for your quick response pcammaert

I understand what you said but here's the scenario 

I am applying section access on user to hide unnecessary objects. For instance if Admin (All) access my report he should be able to access all objects while other user (like V) login to report then he must have access to only those object which he needs and also align object by re-positioning.

So for that purpose I created a macro but It only triggers in normal desktop view.

I've gone through many suggestion online but was unlucky.

Can you please suggest any alternative way to achieve this?

Thanks again.