Open gioman opened 7 months ago
I was trying to use an aggregate function as part of the expression to name a photo.
The idea was to name the photos concatenating a date and the code of the administrative unit where the photo is taken, i.e.
now() || '_' || aggregate( layer:= 'admin_units', aggregate:='concatenate', expression:=unit_code, concatenator:=',', filter:=intersects($geometry, geometry(@parent))) || '.{extension}'
but when trying it, it seems that the whole expression is kind of ignored and the naming given is the one that is used by default, when no expression at all is used.
Not sure if this is by design, a bug or a missing feature.
Hey, @gioman , thanks for reporting this! Can you please specify which QFieldSync version you are using?
@suricactus 4.7.0
I was trying to use an aggregate function as part of the expression to name a photo.
The idea was to name the photos concatenating a date and the code of the administrative unit where the photo is taken, i.e.
but when trying it, it seems that the whole expression is kind of ignored and the naming given is the one that is used by default, when no expression at all is used.
Not sure if this is by design, a bug or a missing feature.