<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    Hi,<br>
    <br>
    Instead of `$id` which could mean nothing for server, have you try
    `now()` or something else based on `now()` or a project variable ?<br>
    <br>
    René-Luc<br>
    <br>
    <div class="moz-cite-prefix">Le 12/03/2024 à 12:42, Ludovico Frate
      via Lizmap a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:AS2PR10MB69282DEC77F503F208792D43D62B2@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>
      <p class="elementToProof"
        style="margin-top: 0px; margin-bottom: 0px;"><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Hi,
          I'm testing by inserting a new value.</span></p>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <hr style="display: inline-block; width: 98%;">
      <div dir="ltr" id="divRplyFwdMsg"><span
style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Da:</b> Lizmap
          <a class="moz-txt-link-rfc2396E" href="mailto:lizmap-bounces@lists.osgeo.org"><lizmap-bounces@lists.osgeo.org></a> per conto di Ulisse
          Cavallini via Lizmap <a class="moz-txt-link-rfc2396E" href="mailto:lizmap@lists.osgeo.org"><lizmap@lists.osgeo.org></a><br>
          <b>Inviato:</b> martedì 12 marzo 2024 12: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> Re: [Lizmap] R: Lizmap Server Plugin</span>
        <div> </div>
      </div>
      <p style="margin-top: 0px; margin-bottom: 0px;">Hi!</p>
      <p style="margin-top: 0px; margin-bottom: 0px;">Are you testing
        this with an update on a saved feature, or with an insert?</p>
      <p style="margin-top: 0px; margin-bottom: 0px;">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 style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <p style="margin-top: 0px; margin-bottom: 0px;"><br>
      </p>
      <div>On 3/12/24 12:27, Ludovico Frate via Lizmap wrote:</div>
      <blockquote>
        <div><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
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div><span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><img
              style="max-width: 1866px;" data-outlook-trace="F:2|T:2"
              src="cid:part1.05lfvzIr.NEkE6q6m@gmail.com" class=""></span></div>
        <hr style="display: inline-block; width: 98%;">
        <div dir="ltr" id="x_divRplyFwdMsg"><span
style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Da:</b> Ludovico
            Frate
            <a href="mailto:ludovicofrate@hotmail.it"
              class="x_moz-txt-link-rfc2396E" moz-do-not-send="true"><ludovicofrate@hotmail.it></a><br>
            <b>Inviato:</b> lunedì 11 marzo 2024 21:34<br>
            <b>A:</b> <a href="mailto:lizmap@lists.osgeo.org"
              class="x_moz-txt-link-abbreviated moz-txt-link-freetext"
              moz-do-not-send="true">
              lizmap@lists.osgeo.org</a> <a
              href="mailto:lizmap@lists.osgeo.org"
              class="x_moz-txt-link-rfc2396E" moz-do-not-send="true">
              <lizmap@lists.osgeo.org></a><br>
            <b>Oggetto:</b> Lizmap Server Plugin</span>
          <div> </div>
        </div>
        <p style="direction: ltr; margin-top: 0px; margin-bottom: 0px;">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 style="direction: ltr; margin-top: 0px; margin-bottom: 0px;">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>
        <br>
        <fieldset class="x_moz-mime-attachment-header"></fieldset>
        <pre><div>_______________________________________________
Lizmap mailing list
<a href="mailto:Lizmap@lists.osgeo.org"
        class="x_moz-txt-link-abbreviated moz-txt-link-freetext"
        moz-do-not-send="true">Lizmap@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/lizmap"
        class="x_moz-txt-link-freetext moz-txt-link-freetext"
        data-auth="NotApplicable" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</div></pre>
      </blockquote>
      <pre><div>-- 
Ulisse Cavallini
<a href="http://www.faunalia.eu" class="x_moz-txt-link-abbreviated"
      data-auth="NotApplicable" moz-do-not-send="true">www.faunalia.eu</a>
Training, support, development on QGIS, PostGIS and more</div></pre>
      <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>
    <br>
    <div id="grammalecte_menu_main_button_shadow_host"
      style="width: 0px; height: 0px;"></div>
  </body>
  <lt-container></lt-container>
</html>