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: 
Not applicable

Variables not available after rebuilding QVD from XML

Hi,

In QV10 SR3 I have created a project folder TEST-PRJ alongside my TEST.QVD. After saving the QVD I get all project files in the project folder without issue.

What I want is reconstruct the QVD from the individual project files. Therefore I renamed the original TEST.QVD to TEST_ORG.QVD and saved an empty QVD as TEST.QVD

This new file has all objects and sheets but when I reload I get no data. I suspect this is caused because there is a problem with the variables. I noticed that the values of my nonscripted variables are all empty.

new.JPG

In the original qvd I see:

original.JPG

Any idea how to fix this so that I do not have to add the variables each time when I reconstruct the qvd??

8 Replies
Not applicable
Author

I have noticed the same thing. When I restore my project from project files, all of the variables that are not scripted have disappeared! I even searched the contents of all of the files in the -prj folder, but could not find any of my variable definitions there either.

Is this a bug? If so, it is a very big one! I am trying to recover a corrupted document, and this is preventing me.

Not applicable
Author

***DANGER***

This is a bug in QlikView!

DO NOT PLAN ON QLIKVIEW PROJECT FILES TO RETAIN YOUR VARIABLE DEFINITIONS!

Jason_Michaelides
Partner - Master II
Partner - Master II

Have you reported this to QlikTech, Simon?

Not applicable
Author

Jason,

Yes I have.

  • Case # 00113177
  • Issue Analysis ID - 48655

Please let us know if/when this gets fixed! Right now we are having to manage the physical QlikView file, and have no hope of doing collaborative development.

Thanks,

Jason_Michaelides
Partner - Master II
Partner - Master II

I don't work for QlikTech so I wouldn't know!  I'm interested to hear about progress myself...

Not applicable
Author

Oh, ok. Sorry. Your profile pic led me to believe otherwise...

Jason_Michaelides
Partner - Master II
Partner - Master II

Fair point. That was some ex-colleagues' idea of fun...

I promise I don't put the pants back on every night...

Anonymous
Not applicable
Author

Hi!

Quite an old topic here, but I just wanted to give an update here in case anyone else is searching Qlikcommunity for this topic.

Seems like QT is not gonna fix this behavior. Just discussed with Support, and they say that's a WAD

WAD: As noted in
the help files / documentation "No data from the document will be saved in
the project files."

Variables that are
added to the document straight into the variables section are classed as data -
to get around this you can use SET in the script to set the variable to be
what you want in the file, this will ensure that the "variable" is
saved in the project file.

When I remember correctly, this is the same behavior as with the qv.exe \nodata Switch. Frontend Variables are not loaded there as well.

Some workarounds can be found here: http://community.qlik.com/message/184020#184020