Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create a .qvd with Java

Hello,

It's possible to create .qvd files with java, or other APIs ?

How/Where can I find some informations about it ?

12 Replies
biester
Specialist
Specialist

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.

Rgds,

Joachim

Not applicable
Author

Nice,

merci

Not applicable
Author

I find how it is possible to export data from application using Java, but I don't find where I can create qvd files from java generated data.

biester
Specialist
Specialist

I'm afraid I don't quite understand what you mean by "Java generated data". Can you give an example?

Rgds,

Joachim

Not applicable
Author

i would like to use a simple java function to insert row by row, new data in a qvd file.

/*Open/Create qvd-file

loop tab n

qvd-file.insert(tab(n))

end loop;

save qvd-file;*/

This is not java, but this kind of stuff.

biester
Specialist
Specialist

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.

Rgds

Joachim

Not applicable
Author

how do we then integrate with any application.

For an ex: I have java app and I need to call qlkview functionality from my app.

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

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...

rbecher
MVP
MVP

Hi Ermance,

I'm working on a Java project to read/write QVD files:

tiqview.tumblr.com/post/26630334356/qlikview-data-integration-in-a-java-world-with-qvx

- Ralf

Astrato.io Head of R&D