-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter "is_selected()" for atlas print does not work #2076
Comments
Yes, it's possible to print an atlas. For the naming you can use expressions in your layout's settings: The filter "is_selected()" does not work in QField since the way of selecting features is a different one on the mobile UX. But it should be well possible by just selecting them (with the mentioned "toggle feature selection" function) and then use "Print Atlas Feature(s) to PDF" See for more information about this feature #1731 |
ah well, that solved it - thank you! |
Hi signedav, According to your message from the Aug 12, 2021, it seems possible to define the name of a pdf with an expression. On my side, it doesn't work (with version 2.5.6). This functionality is not more supported or I'm doing wrong somewhere ? |
Can you provide more information. What is your pdf named like? |
I can't reproduce the problem. I bugged. Sorry for the trouble. |
To enable the field workers to print a PDF from QField, i created a print layout. A virtual column ("Selected") with the expression "is_selected()" was introduced and the atlas option in the layout form is set to Filter by: "Selected=1", so only selected features will be printed (with QGIS atlas enabled). In QGIS this works fine, QField seems not to evaluate the expression (if i select multiple features via "toggle feature selection" none of them shows selected=1), therefore the atlas print does not work.
Is there another way to get multiple printed pages with the same layout out of QField? If i create a print layout without atlas function (basically a better screenshot) it will always export it as "Documents/Formular.pdf", ergo overwriting the previous export.
QField 1.9.6, QGIS 3.16.9
The text was updated successfully, but these errors were encountered: