[Qgis-user] QGIS Attribute Form

Alessandro Pasotti apasotti at gmail.com
Fri Nov 15 14:57:56 PST 2019


On Fri, Nov 15, 2019 at 10:24 PM Cliff Patterson <cpatterson at psdrcs.com>
wrote:

> Hello!
>
> I am building an attribute form for a single spatial layer ( stored in
> PostGIS). For value maps, I am using the Value Relation to link to a few
> flat tables that are pulled into the project from Postgres/PostGIS. I am
> able to save the style as default in the Postgres/PostGIS database, but
> when I load the layer into a new project with the associated tables, the
> relations are broken -- none of the drop down menus work -- they appear
> with "(no selection)" as the only option in the dropdown menu.
>
> Is there a way to either (1) point the value relations directly to a
> database table to avoid having to load them with the spatial layer or (2)
> preserve/save the Value Relations in the default layer style? Without
> either of these two functions, it is hard to truly create a relational DB.
>
> Is this, perhaps, a bug or a good feature request?
>
> Thanks,
> Cliff
>
>
Hi Cliff,

Perhaps this will solve your issue:  https://github.com/qgis/QGIS/pull/32487
It will be in QGIS 3.12

Hope this helps.

--
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20191115/3dfc96c4/attachment.html>


More information about the Qgis-user mailing list