<div dir="ltr">Hi Toni,<div><br></div><div>Unfortunately the layers I need to publish have <queryable> already set to true.</div><div>Now I'm checking whether my settings are properly configured as suggested by Alessio.</div><div><br></div><div>Thanks for your help!</div><div><br></div><div>Bye,</div><div><br></div><div>P.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--------------------<br>Paolo Pasquali<br>ITHACA - Information Technology for Humanitarian Assistance, Cooperation and Action<br>via Pier Carlo Boggio, 61<br>10138 Torino - Italy<br>Tel. +39 011 1975 1872<br>Fax +39 011 1975 1122</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 15, 2019 at 12:09 PM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de">toni.schoenbuchner@csgis.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Paolo,<div><br></div><div>Do you mean the queryable checkbox of a layer under publish tab?</div><div><br></div><div>I think this is written to the specific layer.xml like</div><div>/data/geoserver-data/workspaces/geonode/geonode_data/tiger_roads/layer.xml</div><div><br></div><div><queryable>false</queryable></div><div><br></div><div>Unsure if there is some way by use of the rest endpoint but for sure you could</div><div>„sed" it in all files:</div><div><br></div><div>$ find /data/geoserver-data/workspaces/geonode -type f -iname "layer.xml" -exec sed -i.bak 's/<queryable>false<\/queryable>/<queryable>true<\/queryable>/' "{}" +;<br><div>
</div>
<br>( untested )</div><div><br></div><div>Cheers,</div><div><br></div><div>Toni<br><br><div><blockquote type="cite"><div>Am 15.01.2019 um 11:46 schrieb <a href="mailto:mailman@lists.osgeo.org" target="_blank">mailman@lists.osgeo.org</a>:</div><br class="gmail-m_6448062843308884523Apple-interchange-newline"><div><div style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Von:<span class="gmail-m_6448062843308884523Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Paolo Pasquali <<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>><br></span></div><div style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Betreff:<span class="gmail-m_6448062843308884523Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif"><b>Aw: [GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x</b><br></span></div><div style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Datum:<span class="gmail-m_6448062843308884523Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">15. Januar 2019 um 11:35:19 MEZ<br></span></div><div style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>An:<span class="gmail-m_6448062843308884523Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Francesco Bartoli <<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>><br></span></div><div style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)"><b>Kopie:<span class="gmail-m_6448062843308884523Apple-converted-space"> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><br></span></div><br style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div dir="ltr" style="font-family:ArialMT;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><br></div><div>Do you know where GeoServer store the information whether a layer is published or not?</div><div><br></div><div>Thanks for your help!</div><div><br></div><div>Ciao</div><div><br></div><div>P.</div></div></div></blockquote></div><br></div></div></blockquote></div>