Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
How can i set Searchable Menu
I need to make my system publicly accessible, to allow any citizen to see their buildings.
I need to have a search option in the menu (similar to the normal search in a list) but I don't want the citizen to see the list of the various buildings that are
It would be, user enters the system, goes to the consult menu, searches the building through the code and then receives a list with searched building, without seeing the other buildings that are.
as an example: Predial online de Portugal
The closest thing to that functionality in Genio is the 'Show after filter' option in the menu lists:
This will keep the list empty of results until the user searches for something.
However, wildcards will still work, so its not guaranteed that only 1 or 0 results will return, N results are possible. This pattern was adapted to database optimization (heavy tables that should not be shown as a whole) and not as a information security feature.
You can try and add a bit of code to the controller of that list to exclude any wildcard the user tries to use, so for full compliance you may have to use Manual code.
/[MANUAL <module> MENU_GET <menu>]/ is likely the one you will want to use.
Keep Informed
About the Community
Question tools
Stats
Asked: 25/10/19, 08:22 |
Seen: 1439 times |
Last updated: 25/10/19, 15:33 |