<div dir="ltr">Grazie Simo!<div><br></div><div>That was exactly what I was looking for!</div><div><br></div><div>Simone</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 January 2017 at 10:23, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bella Simo,<div><br></div><div>we should have something that should help you, take a look at this function</div><div><a href="https://github.com/GeoNode/geonode/blob/master/geonode/geoserver/helpers.py#L740" target="_blank">https://github.com/GeoNode/<wbr>geonode/blob/master/geonode/<wbr>geoserver/helpers.py#L740</a>.<br></div><div><br></div><div>Let me know.</div><div><br></div><div>Ciao</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-01-05 17:07 GMT+01:00 simone balbo <span dir="ltr"><<a href="mailto:simone.blb@gmail.com" target="_blank">simone.blb@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi list,</div><div><br></div><div>I found out that I have the 'default_style_id' field set to null for all my layers in GeoNode 2.4 (not sure how I end up with this, probably update_layers?).</div><div><br></div><div>Therefore I would like to write a script that for each layer reads the default style for the corresponding layer in geoserver and sets the correct id in GeoNode. </div><div>Does anyone have suggestion on which existing function can I take advantage of?</div><div><br></div><div>Thanks!</div><span class="m_5982434920057384148HOEnZb"><font color="#888888"><div><br></div><div>Simone</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_5982434920057384148gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br></div>