Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bug? ServerSideExport generates html file instead of delimeted csv or skv

Hello

According to the APIGuide the ServerSideExport command should generate a csv file. For me it only generates html files.

Also the append functionality does not work. Does anyone have an idea of why it is doing this? We are using qv10SR3 server.

This is my macro code:

sub exportdata

     set tb = ActiveDocument.GetSheetObject("CH79") ' object id of a straight table

     tb.ServerSideExport "C:\Deleteme"&date&".skv", ";",1200, true ' separator: ; codepage:Unicode 1200, Append: true

end sub

1 Reply
Not applicable
Author

Use a 1 instead of 1200

     tb.ServerSideExport "C:\Deleteme"&date&".skv", ";",1

Sub ServerExportEx

  set st = ActiveDocument.GetSheetObject("CH05")

  st.ServerSideExportEx "D:\QlikView\POC (alternative way)\Dump\text.csv" , ";" ,1   '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF

  msgbox("Export Complete")

End Sub