[Qgis-user] Relation widget values

Jean-Philippe Chenel jp.chenel at LIVE.CA
Fri Mar 13 13:18:47 PDT 2020


Hi,

I've a question regarding the Value Relation Widget under Layer Properties/Attributes Forms. Making the configuration work very well to bind a field to a list of values of another table in the project.

When all is done, I make a qlr file to save all the layer definitions.

The problem appears when I reload the qlr file without all the relational tables. The fields are bound, but the values aren’t displayed. To make this work, I need to add the relational tables to the project too.

Does it have a workaround or an alternative to make it work without adding all the tables to the project? I saw in the qlr file that the connection to postgresql and all needed information are in the file to make it work.

Database: postgresql 9.6
QGIS version 3.10.3
Layers and tables are in the database.

With best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200313/c2cf9a24/attachment.html>


More information about the Qgis-user mailing list