Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

How can I run macros in WebView?

I am using a macro that exports two tables to excel. In Desktop View works, but in WebView does not.

I marked "Allow macro execution on server" & "Allow unsafe macro execution on server", but the excel sheet is in blank.

Please help!

1 Solution

Accepted Solutions

Re: How can I run macros in WebView?

There are two reasons why it couldn't work. At first AJAX itself couldn't access your file-system and create objects and the second point is there didn't exists an real object within your report - it's just html rendered by your server.

If you want those both tables within one excel you need to do it manually by exporting them to excel and copy+paste them like you want or you could print those tables (it opened in another browser-window) and copy+paste from there.

Alternatively would be to automate these exportings per macro from the desktop-client or per NPrinting with nearly any combination of possible user, selections, objects ... with generating some unused traffic and reports or by creating them on demand with QlikView NPrinting or Using EDX in QlikView 11 - basic example‌.

- Marcus

7 Replies
Employee
Employee

Re: How can I run macros in WebView?

You exporting macros will not run using Webview

Employee
Employee

Re: How can I run macros in WebView?

trdandamudi
Honored Contributor

Re: How can I run macros in WebView?

Macros will not run in Web View....

Not applicable

Re: How can I run macros in WebView?

Why not? Any idea to export two tables to Excel?

Please.

Not applicable

Re: How can I run macros in WebView?

Any idea to export two tables to Excel?

Re: How can I run macros in WebView?

There are two reasons why it couldn't work. At first AJAX itself couldn't access your file-system and create objects and the second point is there didn't exists an real object within your report - it's just html rendered by your server.

If you want those both tables within one excel you need to do it manually by exporting them to excel and copy+paste them like you want or you could print those tables (it opened in another browser-window) and copy+paste from there.

Alternatively would be to automate these exportings per macro from the desktop-client or per NPrinting with nearly any combination of possible user, selections, objects ... with generating some unused traffic and reports or by creating them on demand with QlikView NPrinting or Using EDX in QlikView 11 - basic example‌.

- Marcus

Not applicable

Re: How can I run macros in WebView?

Thank you.

Well, the user will use the traditional way.

Community Browser