<div dir="auto">You can have a look to the "Menu from project" plugin. Especially if you use the project stored in database, it can be easy to maintain for you to edit layers available in the menu.<div dir="auto"><br></div><div dir="auto">If you really want to add entries in WMS WFS, you can use a custom QGIS INI file within your organisation or add them with QgsSettings</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pada tanggal Sel, 16 Feb 2021 15:13, Janvier Thomas <<a href="mailto:t.janvier@brgm.fr">t.janvier@brgm.fr</a>> menulis:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="#0563C1" vlink="#954F72">
<div class="m_6550595867500570041WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m looking for an automated/scriptable method to publish (and update) an organization-wide set of webservices.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The idea is to deploy a “collection of data resources” as a collection of WMS/WFS, among an organization…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It’s intended to be maintainable (update/add/remove links on-the-fly) so all coworkers will have access to the same datafeeds without having to manually add each URL (especially for non-expert users).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My first thought was to provide a plugin that only job would be to register “connections” at launch and update the version of such plugin along with the connections list then deploy the update through an internal QGIS
repo…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">But I did not find how to “register” the webservices through the API (I found tons of doc about how to request them to serve layers, nothing on the “add connection to sources”)…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance !<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:14.2pt"><b><span><img width="325" height="91" style="width:3.3854in;height:.9479in" id="m_6550595867500570041_x0000_i1029" src="cid:image001.png@01D70443.FBEAFBC0"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span><u></u> <u></u></span></b></p>
<table border="0" cellspacing="0" cellpadding="0" style="margin-left:7.1pt;border-collapse:collapse">
<tbody>
<tr>
<td width="387" valign="top" style="width:290.6pt;border:none;border-bottom:solid #005a74 1.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:14.1pt"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#005a74">Thomas JANVIER<u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif">3D Geomodelling developper<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#005a74">DGR/CIM<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:14.55pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif">3 av.
</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif">Claude-Guillemin
<span style="color:#005a74">-</span> BP 36009 <span style="color:#005a74">-</span> 45060 ORLÉANS Cedex 2<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:14.55pt"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Tel.: +33 (0)2 38 64 33 39</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#005a74">/</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif">
</span><span style="font-family:"Arial",sans-serif"><a href="mailto:courriel@brgm.fr" target="_blank" rel="noreferrer"><span style="font-size:8.0pt;color:blue">t.janvier@brgm.fr</span></a></span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span style="font-family:"Arial",sans-serif"><a href="http://www.brgm.fr/" target="_blank" rel="noreferrer"><b><span style="font-size:8.0pt;color:blue">www.brgm.fr</span></b></a></span><b><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9e4f16"><u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:14.1pt"><b><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9e4f16"><u></u> <u></u></span></b></p>
</td>
</tr>
<tr>
<td width="387" valign="top" style="width:290.6pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:14.1pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9e4f16"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9e4f16">BRGM – THE FRENCH GEOLOGICAL SURVEY<u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span style="font-family:"Arial",sans-serif"><a href="http://www.brgm.fr/content/newsletters?pk_campaign=signature-brgm&pk_kwd=newsletter" target="_blank" rel="noreferrer"><span lang="EN-US" style="font-size:8.0pt;color:blue">Newsletter
BRGM Infos</span></a></span><u><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:blue"><u></u><u></u></span></u></p>
<p class="MsoNormal" style="margin-left:14.1pt"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><a href="https://twitter.com/BRGM_fr" target="_blank" rel="noreferrer"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="m_6550595867500570041Image_x0020_2" src="cid:image002.jpg@01D70443.FBEAFBC0" alt="cid:image002.jpg@01D6BE76.48D64A70"></span></a><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">
</span><a href="https://www.linkedin.com/company/brgm" target="_blank" rel="noreferrer"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="m_6550595867500570041Image_x0020_3" src="cid:image003.jpg@01D70443.FBEAFBC0" alt="cid:image003.jpg@01D6BE76.48D64A70"></span></a><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> </span><a href="https://www.instagram.com/brgm_fr/" target="_blank" rel="noreferrer"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="m_6550595867500570041Image_x0020_4" src="cid:image004.jpg@01D70443.FBEAFBC0" alt="cid:image004.jpg@01D6BE76.48D64A70"></span></a><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> </span><a href="https://www.youtube.com/user/brgmtv" target="_blank" rel="noreferrer"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;text-decoration:none"><img border="0" width="25" height="25" style="width:.2604in;height:.2604in" id="m_6550595867500570041Image_x0020_5" src="cid:image005.jpg@01D70443.FBEAFBC0" alt="cid:image005.jpg@01D6BE76.48D64A70"></span></a><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:14.1pt"><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#006386"><u></u> <u></u></span></b></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>