Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
markperrone
Contributor III
Contributor III

Pulling the tag string nodes in the metadata...

I used the data manager to open a qvd as XML.

It showed a table with all the tag/string nodes.

Tags:
LOAD
[String%Table],
[%Key_QvdFieldHeader_59D66ED49CFF179D]
FROM $(vFileName)
(XmlSimple, table is [QvdTableHeader/Fields/QvdFieldHeader/Tags/String]);

When I inspect the qvd, I don't see the key_qvdfieldheader_59D66ED49CFF179D.

Is there some good documentation on qvd metadata ?

 

Labels (1)
3 Solutions

Accepted Solutions
Vegar
MVP
MVP

I haven't seen any official documentation of the QVD XML header, but you could take a look at @stevedark 's old blogpost How To Read Meta Data From A QlikView QVD. It can help you getting started.

https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/

View solution in original post

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Vegar 

Thanks for sharing the link to my post.

There is also a full script included with my Instant Sense Application which loops all QVDs in a library and pulls in the metadata from each of them.

Steve

View solution in original post

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @markperrone 

I've not included those in the ISA as I wanted to ensure that it would work over any QVD, in fact the script was first written years ago over QlikView QVDs.

Saying that, each QVD I have looked at which is half recent has both of those fields in with exactly the same field name. I've dug up a 13 year old QVD and it only has the Table Header field, but that has the exact same field name.

Everywhere I have seen, the table header only contains zero, whilst the field header contains ascending numbers as you go down the list of fields - my guess is it is the start position of the field in the QVD. That would be easily checked out - but I've not done it.

What are you hoping to get from these fields? 

If you want a decade old post from @hic talking French (I think) on the topic there is this:

https://community.qlik.com/t5/QlikView-App-Dev/script-qlikview/m-p/562906

Also this post references the field:

https://community.qlik.com/t5/QlikView-App-Dev/How-to-use-QVD-file-functions-in-the-script/m-p/92919...

There does not seem to be a lot written about those fields though, as far as I can see.

Steve

View solution in original post

4 Replies
Vegar
MVP
MVP

I haven't seen any official documentation of the QVD XML header, but you could take a look at @stevedark 's old blogpost How To Read Meta Data From A QlikView QVD. It can help you getting started.

https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Vegar 

Thanks for sharing the link to my post.

There is also a full script included with my Instant Sense Application which loops all QVDs in a library and pulls in the metadata from each of them.

Steve

markperrone
Contributor III
Contributor III
Author

Hi Steve

I looked through ISA and didn't see a reference to the tag elements.  From I can research there are %key elements in the xml I can use to collect the tags.  Are these elements the same across all QVDs ?

%Key_QvdFieldHeader_59D66ED49CFF179D

%Key_QvdTableHeader_B94FCCAC68ED3E20

I tried a few and they appear to be consistent.  Anyone tried to work with these two keys ?

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @markperrone 

I've not included those in the ISA as I wanted to ensure that it would work over any QVD, in fact the script was first written years ago over QlikView QVDs.

Saying that, each QVD I have looked at which is half recent has both of those fields in with exactly the same field name. I've dug up a 13 year old QVD and it only has the Table Header field, but that has the exact same field name.

Everywhere I have seen, the table header only contains zero, whilst the field header contains ascending numbers as you go down the list of fields - my guess is it is the start position of the field in the QVD. That would be easily checked out - but I've not done it.

What are you hoping to get from these fields? 

If you want a decade old post from @hic talking French (I think) on the topic there is this:

https://community.qlik.com/t5/QlikView-App-Dev/script-qlikview/m-p/562906

Also this post references the field:

https://community.qlik.com/t5/QlikView-App-Dev/How-to-use-QVD-file-functions-in-the-script/m-p/92919...

There does not seem to be a lot written about those fields though, as far as I can see.

Steve