Skip to main content

How to Export a Qlikview Document (QVW) to XML/TXT and/or Manage / Recreate QlikView applications using a project (PRJ) folder

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to Export a Qlikview Document (QVW) to XML/TXT and/or Manage / Recreate QlikView applications using a project (PRJ) folder

Last Update:

Oct 21, 2022 3:57:08 PM

Updated By:

NadiaB

Created date:

Jul 11, 2012 8:16:25 AM

QlikView applications can be exported to a project (prj) folder and then recreated from this folder. The PRJ folder can also be used for version control and inspection of QVW files.

With all application objects and settings stored on file, the PRJ folder also allows for recreating a QlikView application by importing the PRJ folder content to a blank QlikView application (QVW) file. 

Environments:

  • Qlikview all versions

 

Resolution:


The below steps describe how a QlikView project (PRJ) folder is populated from a QlikView application (QVW) file, and how the PRJ folder content can be imported to a blank QVW file. 

Export QlikView application (QVW) file to a PRJ folder
  1. Create a folder named the same way as QlikView application with -PRJ as suffix, in the same folder as the QlikView application. For example, if the application file is named MyApplication the project folder should be named MyApplication-PRJ

    PRJ folder01 Export QlikView File.png

  2. Open the QlikView application that you want to export to a PRJ Folder. 
  3. Press Save (or Ctrl+S) to trigger the export of the application content to the PRJ folder. 
  4. Open the PRJ folder in a file explorer window to confirm the content has been exported. The folder should contain XML and TXT files corresponding to the objects and properties in the QlikView application.
NOTE1: The content will only be exported to the PRJ folder every time the QVW file is saved 
NOTE2: The PRJ folder will not contain data, which also includes variable values


Recreate QlikView application (QVW) file from the PRJ folder
  1. If the QVW still exists, rename it to something that does not match the PRJ folder name. For example add an underscore to the file name, mainly to enable reverting to the original file if required later. 

    PRJ folder02 Recreate QlikView File.png

  2. Open QlikView desktop client 
  3. Create a new document
  4. Save the document with the same name as the PRJ Folder, without the prj name. For example, so that you get a file structure as the image below. 

    PRJ folder03 Recreate QlikView File.png

  5. Close the QlikView application, without saving the document again if prompted. This triggers importing the data from the PRJ folder to the QVW file.
  6. Reopen the QVW file to validate that the file has been restored. 


NOTE3: See this article on how to recover variable values: FAQ: How to recover variables values from PRJ folder

If the files are not generated in the prj folder, verify that there are no containers making reference to a deleted object. In order to do so you can go to menu Settings\Document Properties, sheets tab and in the second table in the window sort the objects by "Type" select each of any of the Container objects and select properties, it will open the properties window for the container, if you see any object marked as (unavailable) just remove it from the container. Once all the references to deleted objects are removed save the document and verify the files were created in the PRJ folder.
 

Labels (2)
Version history
Last update:
‎2022-10-21 03:57 PM
Updated by: