on 09-26-2023 2:23 PM
Hello,
I try to hide one of my filters in smartFilterBar, but I want it under specified conditions. On backend I have a function that checks user's role and returns boolean. Can I somehow do it on a frontend site? I have checked that smartfilterbar does not have such a property. Maybe it is possible to do it with annotations? For example: Name @UI.HiddenFilter:{$If: $value('SRV.isRole("Role-type1")) then"@UI.HiddenFilter" else ""' }.
To sum up, I would like to hide one filter for specified user role, and for other make it visible.
Best Regards,
Wiktor
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.