Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there any way to extract data from QVD file using .NET?
I need to get at least XML header to describe the fields in the table, the layout of the subsequent information and other meta-data
Thanks in advance.
If you open a QVD in a text editor, you can see that the XML information is at the start of the file and easily readable. In C# .net, you can use xmlreader in a loop to parse the elements, stopping at the last element <\QvdTableHeader>
See below c#
Thank you @PiEye !
Your answer was very helpful, but that's not what I was looking for. This is my mistake in posing the question. I need to programmatically get QVD file from our QlikView servers and only then read the metadata.
Do you have information on how to do this?
Any answer would be appreciated.
Thanks in advance.
Hi Alex!
Looks like I tackled the second bit, but not the first!
In this case you will need to find the path where the QVD's are stored, then loop through them and use the rest of my code above
If you change the value in
private const String filename = "tesstQVD.qvd";
To the path and filename of each QVD, it should then read the data from it.
Pi
@AlexUsov wrote: publix.orgIs there any way to extract data from QVD file using .NET?
I need to get at least XML header to describe the fields in the table, the layout of the subsequent information and other meta-data
Thanks in advance.
Thank you so much for sharing such a useful information.