QlikView 9应用Git版本控制问题:app-prj未生成XML文件
Hey there, let's walk through the common missteps that might be keeping your QlikView 9 project folder from generating those XML files you need for Git version control:
Check if project folder generation is enabled in your QVW properties
This is the most common culprit. Open yourapp.qvw, go toFile->Properties, switch to theGeneraltab, and make sure the "Generate project folder" checkbox is ticked. QlikView won't export content to the prj folder automatically unless this setting is enabled—even if you manually created the folder beforehand.Verify folder naming and location
Your manually createdapp-prjfolder must:- Live in the exact same directory as your
app.qvwfile. - Match the QVW filename exactly (including capitalization). For example, if your app is
App.qvw, the folder needs to beApp-prj—notapp-prjorApp_Project. - Have proper write permissions for the user running QlikView. Right-click the folder, go to
Properties->Security, and confirm your user account has Write access. Without this, QlikView can't save the XML files to the folder.
- Live in the exact same directory as your
Double-check your save workflow
- Use the standard
Save(Ctrl+S) command instead ofSave As.Save Aswill move your QVW to a new path, and the prj folder you created won't be associated with the new location anymore. - Try closing and reopening QlikView after saving. Sometimes cached data can prevent the XML files from appearing immediately.
- Use the standard
Rule out version-specific bugs
QlikView 9 is an older release, and some early 9.0 builds had bugs with project folder generation. Check your version viaHelp->About QlikView—if you're running a base 9.0 version, consider upgrading to the latest 9.x service release (SR) patch. These patches often fixed issues with project folder functionality.
A quick pro tip: If you're still stuck, delete the manually created app-prj folder, enable the "Generate project folder" setting in your QVW properties, then hit save. QlikView will automatically create the correct folder structure and populate it with XML files—this avoids any naming or permission issues from manual folder creation.
内容的提问来源于stack exchange,提问作者Gabriel

