Search code examples
gitversion-controlqlikview

Using version control systems with QlikView


I'm new to QlikView and want to use some version control systems (such as Git) in order to track changes.

I am however not sure exactly how to do this, because at first sight it seems to me that the .qvm files contain both code and data. As a devloper this seems a bit odd, and if true a big limitation wrt source control.

Does anyone have a recipe for how to separate code from data in QlikView files?


Solution

  • In the folder where your qvw files sits create new folder named the same as the qvw but with -prj added.

    For example if your qvw is named MyQVApp.qvw the folder should be named MyQVApp-prj. After this open your qvw and save it. After the doc is saved it will populate the -prj folder with bunch of xml and txt files. These files contains the qvw structure/layout (without the data) - the load script, sheets, sheets objects etc.

    Then you can put the -prj folder under whatever version control you want. Every time the qvw is saved the files in -prj folder will be refreshed and you can commit your changes. And every time you open your qvw Qlikview will load the layout from the -prj files.

    Also there is build-in integration with TFS and Subversion. For more info please read the pdf files from https://community.qlik.com/docs/DOC-3424