New answers tagged


I am now saving photos in external storage, with photo-naming (available in QGIS3.14). I am not sure what was wrong before, but the external folder must be the Qfield folder on external storage , i.e. sd card/android/data/ch.opengis.qfield/files/ or its subfolders.


When using QGIS 3.12 or 3.14, you now have a lock geometries option when packaging using qfieldsync.


okay, with much playing around, this is now working: case when "fkid" is null then 'DCIM/'|| format_date(Now(), 'yyyyMMdd_hhmmss')|| '.jpg' else 'DCIM/'|| attributes(get_feature('tree_pt','uuid',"fkid"))['type']|| attributes(get_feature('tree_pt','uuid',"fkid"))['num']||'_'|| format_date(Now(), '...


It is only working with QGIS 3.14 onwards i think


I think offline editing is useful for database layers e.g. postGIS, not so much for file based layers e.g. shp


So, I've found the cause of the issue: [Project properties]_[Project Home] must be blank. Also: No need to set the 'Referencing Field' (aka foreign key, i.e. fkid in my example) to a Relation reference. I have Relation set to 'Association' strength - I have not tested 'Composition' strength. O

Top 50 recent answers are included