Replies: 2 comments 2 replies
-
Thank you for reporting this, @cratcliff We have made a couple of improvements in this area, could you check if this is still an issue with QField 3.3? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@cratcliff , thanks for providing a test project. A fix to the issue raised in this discussion has been found. You can test the APKs that will appear here to confirm it works as expected: #5356 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to transfer values from a parent feature to a child by using
attribute(@current_parent_feature,'Site')
as the default expression and then use the values for photo filenames.I am trying to use
@current_parent_feature
over other solutions likeattribute(get_attribute( ) )
as the layer name/id and relationship name/ids will change.Currently the values from the parent are retrieved and displayed in child form correctly, but aren't saved or accessible unless edited (i.e. add a space/hyphen). As a result they aren't accessible by the photo naming expression either.
Is it possible to use
@current_parent_feature
in this way with Qfield?The following shows the behavior I am experiencing.
![](https://private-user-images.githubusercontent.com/29470818/338418026-5f9e1a70-56d9-497e-b869-f0738876a367.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNTg2OTEsIm5iZiI6MTczOTA1ODM5MSwicGF0aCI6Ii8yOTQ3MDgxOC8zMzg0MTgwMjYtNWY5ZTFhNzAtNTZkOS00OTdlLWI4NjktZjA3Mzg4NzZhMzY3LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDIzNDYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRlOTI2YWQxNmZhMDg1YTY3ZTMyNTA4YjUxZDU5NjE3OWMyZjJlZGQ5Yzg5ZDc4MmZkOGEwYjRkOTYxOWQ2NDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cKjndh5aEgb0dkepN0tIBpg8XQEh8UFei_Ij10mblW4)
I have also included a simplified QGIS project & packaged QField project to demonstrate.
I am using QGIS 3.36.2-Maidenhead for Windows, QField Sync 4.9.1 and Qfield 3.2.2-Congo on Android 14 (Samsung Active 4 Pro).
Beta Was this translation helpful? Give feedback.
All reactions