Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
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!

2 Replies
Not applicable
Author

I need the same sort of functionality 🙂 can someone please help us.

Not applicable
Author

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.