This article describe how you can export a QlikView application to a project (prj) folder, and then recreate the QVW file from the PRJ 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:
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
- 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 sould be named MyApplication-PRJ
- Open the QlikView application that you want to export to a PRJ Folder.
- Press Save (or Ctrl+S) to trigger the export of the application content to the PRJ folder.
- 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 valuesRecreate QlikView application (QVW) file from the PRJ folder
- If the QVW still exists, rename it to something that does not match the PRJ folder name. For example add a underscore to the file name, mainly to enable reverting to the original file if required later.
- Open QlikView desktop client
- Create a new document
- 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.
- Close the QlikView application, without saving the document again if prompted. This triggers importing the data from the PRJ folder to the QVW file.
- 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
NOTE4: When upgrading from QlikView 10 to 11 the PRJ folder needs to be recreated.