Is it possible to hide fields from a List, where for example, a Retrieval user can't see the column TEST (or the column shows but the content appears as null), while the Admin can view its whole information?
Because Genio allows you to create multiple table lists for the same area within the same form (as long as you provide different identifiers), to achieve the example you provided you can create 2 table lists for the same area, one for "Admin" users with every column, and another for "Retrieval" users, where the TEST column is not present.
Once this is done, create a new function in Genio functions
The following is an example code.
NOTE: Make sure you have an ajax call with async as FALSE, so that the view render waits for your function to end before showing the table lists.
Call you function in "show when" condition for both table lists, each one with its respective level as condition to show
For the server side function simply return the user access level to the current module
About This Community
|Asked: 4/2/20, 1:20 PM|
|Seen: 310 times|
|Last updated: 4/17/20, 8:21 AM|