<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi!</p>
<p>Are you testing this with an update on a saved feature, or with
an insert?</p>
<p>As far as I know, default values in Lizmap currently work only
when inserting a new feature. They are not taken into account when
updating an existing one.</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 3/12/24 12:27, Ludovico Frate via
Lizmap wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AS2PR10MB69287E7539445FCA452DB5CED62B2@AS2PR10MB6928.EURPRD10.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">UPDATE:
I've upgraded the Lizmap version to 3.5.13, and now I can see
the plugin correctly installed.. However, even if I use a
simple expression in the form widget as the default value (for
example $id), it is not recognized by Lizmap.</span></div>
<div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><img
size="10305" contenttype="image/png"
style="max-width: 1866px;" data-outlook-trace="F:1|T:1"
src="cid:part1.yK7jKGIV.WmDmfUXs@faunalia.it" class=""></span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>Da:</b> Ludovico
Frate <a class="moz-txt-link-rfc2396E" href="mailto:ludovicofrate@hotmail.it"><ludovicofrate@hotmail.it></a><br>
<b>Inviato:</b> lunedì 11 marzo 2024 21:34<br>
<b>A:</b> <a class="moz-txt-link-abbreviated" href="mailto:lizmap@lists.osgeo.org">lizmap@lists.osgeo.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:lizmap@lists.osgeo.org"><lizmap@lists.osgeo.org></a><br>
<b>Oggetto:</b> Lizmap Server Plugin</font>
<div> </div>
</div>
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div dir="ltr">
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
</div>
<p class="x_ContentPasted0">Hi, I have an old installation of
Lizmap (v. 3.4.7) on an Ubuntu server with QGIS Server 3.16. I
managed my project with QGIS 3.16 and everything works fine.
In order to use default values in the widget form, I manually
installed the Lizmap server plugin, but it seems not to be
working. Default values used in the widget do not appear in
editing mode.</p>
<p class="x_ContentPasted0">I installed the plugin in the
/usr/share/qgis/python/plugins directory and I've set the
permissions to www-data:www-data for the Lizmap_server folder.
I've also defined the environmental variable in the
qgis-server configuration file. I've already installed the
wfsOutputExtension in the same way without any problems (the
plugin works fine). Any ideas?</p>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:11pt; color:rgb(0,0,0)">
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Lizmap mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lizmap@lists.osgeo.org">Lizmap@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/lizmap">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Ulisse Cavallini
<a class="moz-txt-link-abbreviated" href="http://www.faunalia.eu">www.faunalia.eu</a>
Training, support, development on QGIS, PostGIS and more</pre>
</body>
</html>