Discussion Board for collaboration related to QlikView App Development.
Usually you can find such things in the APIGuide.qvw, in the Automation Reference or in the Java API - Documentation, all downloadable
You could use ExportEx. VBScript-Example in a.m. API-guide:
set obj = ActiveDocument.GetSheetObject("CH01")
obj.ExportEx "C:\test.qvd", 4
Don't know whether this function is also implemented for Java; but perhaps one could use the Java-To-Com bridge if it needs must be Java.
i would like to use a simple java function to insert row by row, new data in a qvd file.
loop tab n
This is not java, but this kind of stuff.
AFAIK that's NOT possible. Creating QVDs is only possible through QlikView, it's a special proprietary format, it's not just like writing to text files. You could as said by "controlling" th QlikView-API by Java, which would only be possible (so I think) as mentioned by a Java2Com-bridge.
You can have a load script that reads the data from a text file (the text file can be created by your Java application) and writes the data into a QVD..
Using Automation APIs, you can access your QlikView document, initiate a reload and trigger the process of reading a text file and writing a QVD.
I have a feeling that you are over complicating your need by trying to do everything in Java and call distinct QlikView finctions, instead of using QlikView in a more "complete" way...