<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Paolo,<div class=""><br class=""></div><div class="">Do you mean the queryable checkbox of a layer under publish tab?</div><div class=""><br class=""></div><div class="">I think this is written to the specific layer.xml like</div><div class="">/data/geoserver-data/workspaces/geonode/geonode_data/tiger_roads/layer.xml</div><div class=""><br class=""></div><div class=""><queryable>false</queryable></div><div class=""><br class=""></div><div class="">Unsure if there is some way by use of the rest endpoint but for sure you could</div><div class="">„sed" it in all files:</div><div class=""><br class=""></div><div class="">$ find /data/geoserver-data/workspaces/geonode -type f -iname  "layer.xml" -exec sed -i.bak 's/<queryable>false<\/queryable>/<queryable>true<\/queryable>/' "{}" +;<br class=""><div class="">
</div>
<br class="">( untested )</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni<br class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 15.01.2019 um 11:46 schrieb <a href="mailto:mailman@lists.osgeo.org" class="">mailman@lists.osgeo.org</a>:</div><br class="Apple-interchange-newline"><div class=""><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; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Von:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">Paolo Pasquali <<a href="mailto:paolo.pasquali@gmail.com" class="">paolo.pasquali@gmail.com</a>><br class=""></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; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Betreff:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class=""><b class="">Aw: [GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x</b><br class=""></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; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Datum:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">15. Januar 2019 um 11:35:19 MEZ<br class=""></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; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">An:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">Francesco Bartoli <<a href="mailto:xbartolone@gmail.com" class="">xbartolone@gmail.com</a>><br class=""></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; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Kopie:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>><br class=""></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; -webkit-text-stroke-width: 0px;" class=""><br class=""><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; -webkit-text-stroke-width: 0px;" class=""><div class=""><br class=""></div><div class="">Do you know where GeoServer store the information whether a layer is published or not?</div><div class=""><br class=""></div><div class="">Thanks for your help!</div><div class=""><br class=""></div><div class="">Ciao</div><div class=""><br class=""></div><div class="">P.</div></div></div></blockquote></div><br class=""></div></body></html>