-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
How to create a drill down form with Lizmap #4898
Comments
I think this question might be linked to discussion on the pinned ticket about expressions : #3226, especially the comment #3226 (comment) It would be nice if you can provide a PR on the repository, with the existing test data to have use case. BTW, it seems the screenshot is wrong, for the second one. |
Hi Gustry, I'm not quite sure that this is the same use case, as in my case I've no geometry. The two tables are only attributes table. I don't think there is an error with the second screenshot. What makes you think that? I can't make a public PR with the project as it is a customer project, but I will send you the project. Thanks |
Yes, I was referring to my comment, there are quite a few context about evaluating expressions. See the comment #3226 (comment) It's this use case :
Look at the screenshot about Lizmap, it's exactly the same screenshot as the one above in QGIS...
And about
Sorry, I don't mean with your data. I was talking about a PR with the test data already in the repository, or creating a simple PG table in the SQL file. https://github.com/3liz/lizmap-web-client/blob/master/tests/README.md |
Just checking quickly, this should work already : https://sandbox.lizmap.com/lizmap_3_8/index.php/view/map?repository=tests&project=form_advanced If you :
So the issue is somewhere. Anylogs about when expressions are evaluated ? Is the HTTP requests sent when you change the value in the dropdown menu ? |
This GitHub repository accept only "bug reports". Questions must go to another channel such as Discourse for instance. if you think it's a proper bug, please open a new detailed bug report, with the latest version of Lizmap available. |
What is the question? (in English)
Hello,
For a lizmap project I need to report damages made to bus stop furniture (example : the bin has been destroyed). To create a new damage report, users have to click on a bus station and then select one of the furniture linked to this bus station.
To only link the furniture related to this bus station, I must create a linked drop-down lists.
So I've three tables :
I've configured the relationships in QGIS and set up the QGIS form id_arrets_bus and id_mobiliers fields.
QGIS form id_arrets_bus id_mobiliers parameter
QGIS form id_mobiliers field parameter
In QGIS, the furniture is correctly filtered according to the selected stop.
But in Lizmap, the drop down list remains empty
I have read that Lizmap is able to use QGIS Expression and filters but it doesn't seems to work in my case.
Have you ever had to create nested drop-down lists? If so, could you please explain me how to do it ?
Thanks,
Arnaud
Versions, safeguards, check summary etc
Versions :
List of Lizmap Web Client modules :
* Version Lizmap Web Client 3.8 needed
List of safeguards :
* Mode : normal * Allow parent folder : no * Prevent other drive : yes * Prevent PG service : yes * Prevent PG Auth DB : yes * Force PG user&pass : yes * Prevent ECW : yes
Check Lizmap plugin
Operating system
Ubuntu 24.04
Browsers
Firefox
Browsers version
Firefox 131
Relevant log output
No response
The text was updated successfully, but these errors were encountered: