Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

OnPostReload export to XML

I need to export an object (straight table) to an XML file nightly after reload. In theory, the easiest way to do this would be to set up a trigger for OnPostReload to an XML file, however that is not a valid file type. I believe a macro will be the way to go, however I'm not proficient at writing them.

Every time the server reloads the document, I need to have an object (CH381) export to an XML file. Can someone please assist me with this?

Thanks!

Tags (3)
2 Replies
Not applicable

OnPostReload export to XML

I need the same sort of functionality :-) can someone please help us.

Not applicable

OnPostReload export to XML

You can use ServerSideExportEx sample program below:

set tb = ActiveDocument.GetSheetObject("CH05")
tb.ServerSideExportEx "C:\QVTemp\test.xml" , ";" , 3

'0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF

I hope this helps.

Community Browser