[Qgis-user] Saving QGIS attribute form?

Andreas Neumann andreas at qgis.org
Thu Jun 22 00:07:47 PDT 2023


Hi Brent,

The form configuration is saved both in the .qml and also the .qlr files.
You can "copy" or "export" the "Fields" and the "Forms" part (or
everything) to a .qml file and load it in another project.

You can access the "Style" export on right-clicking on the layer --> Styles
--> Copy Style --> Style Section. Or at the bottom of the layer properties
dialog "Style" button.

Greetings,
Andreas



On Wed, 21 Jun 2023 at 23:09, Brent Wood via QGIS-User <
qgis-user at lists.osgeo.org> wrote:

> Thanks, but that only lets me copy them from my existing layer. If that
> layer is removed from a project, the form is lost.
>
> I can't copy them to another computer and apply them to another instance
> without copying the entire project, what I'd like to be able to do is
> save/export/import the form, much like a QGIS style can be saved to an XML
> file.
>
> Is this possible?
>
>
>
> Brent Wood
>
> Principal Technician, Fisheries
> NIWA
> DDI:  +64 (4) 3860529
> ------------------------------
> *From:* info <info at geoproc.com>
> *Sent:* Wednesday, June 21, 2023 21:47
> *To:* Brent Wood <Brent.Wood at niwa.co.nz>; qgis-user at lists.osgeo.org <
> qgis-user at lists.osgeo.org>
> *Subject:* Re: [Qgis-user] Saving QGIS attribute form?
>
>
> Hi Brent,
>
>
> 'Copy attributes' from your "form'ed" layer and 'paste attributes' to your
> other layer(s) should work.
>
>
> Regards,
> Benoit
>
>
>
> On 21/06/2023 01:45, Brent Wood via QGIS-User wrote:
>
> I have created a data entry form for a Spatialite table using the new
> functionality implemented by Nyall Dawson in the dev version.
>
>
> It is for station data for fisheries surveys. This form takes some time to
> create, and is linked to the QGIS layer in the project file.
>
> I'd like to be able to save the form & re-use it for the same table in
> other, similar databases.
>
> Can someone suggest how this can be done?
>
>
> Thanks
>
> Brent Wood
>
> Principal Technician, Fisheries
> NIWA
> DDI:  +64 (4) 3860529
>
> ------------------------------
>
> <https://www.niwa.co.nz/> Brent Wood
> Principal Technician - GIS and Spatial Data Management
> Programme Leader - Environmental Information Delivery
> +64-4-386-0529
>
> National Institute of Water & Atmospheric Research Ltd (NIWA)
> 301 Evans Bay Parade Hataitai Wellington New Zealand
> *Connect with NIWA:* niwa.co.nz <https://www.niwa.co.nz/> Facebook
> <https://www.facebook.com/nzniwa> LinkedIn
> <https://www.linkedin.com/company/niwa> Twitter
> <https://twitter.com/niwa_nz> Instagram
> <https://www.instagram.com/niwa_science> YouTube
> <https://www.youtube.com/channel/UCJ-j3MLMg1H59Ak2UaNLL3A> To ensure
> compliance with legal requirements and to maintain cyber security
> standards, NIWA's IT systems are subject to ongoing monitoring, activity
> logging and auditing. This monitoring and auditing service may be provided
> by third parties. Such third parties can access information transmitted to,
> processed by and stored on NIWA's IT systems.
> Note: This email is intended solely for the use of the addressee and may
> contain information that is confidential or subject to legal professional
> privilege. If you receive this email in error please immediately notify the
> sender and delete the email.
>
> _______________________________________________
> QGIS-User mailing listQGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230622/a515a78d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 105979 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230622/a515a78d/attachment-0001.png>


More information about the QGIS-User mailing list