I have lots of Qlikview documents in various folders. I would like to delete all the memory from all these documents programmatically , say for example using FOR LOOP in a python program. How can I do that? Are there other ways to do that?
you can use the following visual basic script:
AppName = WScript.Arguments.Item(0)
Set MyApp = CreateObject("QlikTech.QlikView")
Set MyDoc = MyApp.OpenDocEx(AppName, 0, False)
Set ActiveDocument = MyDoc
MyDoc.RemoveAllData()
MyDoc.SaveAs(AppName)
MyDoc.CloseDoc()
MyApp.Sleep 2000
MyApp.Quit()
Set MyDoc = Nothing
Set MyApp = Nothing