Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

Not applicable

Exporting an Object to txt reloading the application from the Server

Hi

I want to execute a macro so I can export an object to a txt.

The following macro is what I have in the Application Editor Module

sub ExportTablebox

set obj = ActiveDocument.GetSheetObject("CH06")

rem obj.export "D:\Qlikview\Usuarios\Pepe\Osiris\test1.csv",","

obj.ServerSideExportEx "D:\Qlikview\Usuarios\Pepe\Osiris\test1.csv",",",1

msgbox("Exported Table")

end sub

It tunctions well when I reload the application from the client. But if I do it from the server nothing happens.

I will appreciate any help someone can give to me.

Many thanks

Tags (3)
1 Solution

Accepted Solutions
MVP
MVP

Re: Exporting an Object to txt reloading the application from the Server

Hi,

According to documentation (page 891 of the latest Reference Manual), On Post Reload triggered macros will not run in a Server environment. You should add a button to do it manually.

Hope that helps.

Miguel

1 Reply
MVP
MVP

Re: Exporting an Object to txt reloading the application from the Server

Hi,

According to documentation (page 891 of the latest Reference Manual), On Post Reload triggered macros will not run in a Server environment. You should add a button to do it manually.

Hope that helps.

Miguel

Community Browser