[Lizmap] R: R: Lizmap Server Plugin

Ludovico Frate ludovicofrate at hotmail.it
Tue Mar 12 04:42:42 PDT 2024


Hi, I'm testing by inserting a new value.

________________________________
Da: Lizmap <lizmap-bounces at lists.osgeo.org> per conto di Ulisse Cavallini via Lizmap <lizmap at lists.osgeo.org>
Inviato: martedì 12 marzo 2024 12:34
A: lizmap at lists.osgeo.org <lizmap at lists.osgeo.org>
Oggetto: Re: [Lizmap] R: Lizmap Server Plugin


Hi!

Are you testing this with an update on a saved feature, or with an insert?

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.



On 3/12/24 12:27, Ludovico Frate via Lizmap wrote:
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.

[cid:327692c8-f274-4413-b5f5-7fc816f20dae]
________________________________
Da: Ludovico Frate <ludovicofrate at hotmail.it><mailto:ludovicofrate at hotmail.it>
Inviato: lunedì 11 marzo 2024 21:34
A: lizmap at lists.osgeo.org<mailto:lizmap at lists.osgeo.org> <lizmap at lists.osgeo.org><mailto:lizmap at lists.osgeo.org>
Oggetto: Lizmap Server Plugin


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.

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?



_______________________________________________
Lizmap mailing list
Lizmap at lists.osgeo.org<mailto:Lizmap at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/lizmap


--
Ulisse Cavallini
www.faunalia.eu<http://www.faunalia.eu>
Training, support, development on QGIS, PostGIS and more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20240312/1db5a946/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-ldkhjvyi.gif
Type: image/gif
Size: 42 bytes
Desc: Outlook-ldkhjvyi.gif
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20240312/1db5a946/attachment-0001.gif>


More information about the Lizmap mailing list