Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

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

View solution in original post

1 Reply
Miguel_Angel_Baeyens

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