I have a .qgz
project with a spatial layer and two non-spatial layers, primarily created for data collection. All the three layers are saved in a single .gpkg
file and the non-spatial layers are related to the spatial layer by Relations
created in Project Properties
and it works fine.
Now, I want to use these layers with their relations and Form layout in another master project. For this, I tried exporting the layer style as .qml
file (including relations) and then loaded the data and the style file in the master project. While I am able to see the desired form layout, the relations are not appearing. I know I can create relations again in the new project but I am looking for a seamless way to get the job done.
Am I missing something here? Or does it not work this way?
Qgis 3.28 & Windows 11