<div dir="ltr"><div>Hello,<br><br></div><div>first of all: Thanks for this awesome project!<br></div><div>I hope to find help in a comprehension question´:<br></div><div><br></div><div>I am currently playing around witth the sample app.<br></div><div>I set up a QGIS server that serves a QGS-Project that contains some WMS layers as well as a couple of composer templates.<br><br></div><div>When I use the print plugin in the adapted sample app, it generates a corrupted PDF file.<br></div><div>I looked into the POST request formulated by <i>qwc2\QWC2Components\Plugins\Print.jsx</i> and noticed,<br></div><div>that the query param LAYERS also contains the name of the currently displayed background layer.<br></div><div>If I leave that name out of the request, my pdf gets printed.<br><br></div><div>I then noticed that the WMS example in the sample app also serves those backround layers (osm_grau, osm_hell etc.):<br>   <a href="http://qwc2.sourcepole.ch/wms/wolfsburg/qwc2_demo?SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings">http://qwc2.sourcepole.ch/wms/wolfsburg/qwc2_demo?SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings</a><br><br></div><div>Does that really mean that I have to add the background layers, which are used in the client, as services to the qgs-file served by QGIS-Server<br></div><div>– respectively always use a copy of a project binding these services as a base for the configuration of a theme in QGIS? That would be a bit inconvenient.<br></div><div>Or am I missing point here?</div><div><br><br></div><div>Regards<br></div><div>Sascha<br></div></div>