It is possible to save a QlikView document into several files that can be used for versioning. Each file defines a property of the document, a sheet, an object, the script etc.
Each time the document is opened and an object or a setting is changed, these changes are saved to the different files, making it easy to follow the changes made in the document. This way it is also possible to see who made a change and to which part of the document.
To create these project files it is necessary to create a folder next to the qvw or qvf file with the same name as the QlikView document and add -prj, e.g. the project folder for a document called Finance.qvf should be Finance-prj.
Files in the Project Folder
The file QlikViewProject.xml contains a list of all the objects part of the QlikView document.
The different sheets and objects in the list are named after their object ID. The project files are:
- QlikViewProject.xml - contains a list of all the files included in the project
- LoadScript.txt - contains the document load script
- Module.txt - contains the document macro code, if any exists
- Module.txt - a single file is created for every sheet. In addition the files contain references to all the sheet objects on the sheet.
- Separate files are also created for every sheet object:
The files DocProperties.xml, AllProperties.xml, DocInternals.xml and TopLayout.xml all contain property settings for the different parts of the document. DocBinary.dat contains user sensitive data, such as passwords.