Hi
Is there any way to disable or remove system generated Edit action on a slice in UX detail view?
Solved! Go to Solution.
Hello @WalterWong, you can do that in a few ways:
1- Disable the "edit" permissions for the slice
2-Disable the "edit" permissions for that table
3-Disable the "edit" action based on a expression completely or based on an expression like CONTEXT()
Bear it mind its just the system generated edit action that's appearing there
Good morning,
Yes it is, you need to open [Behaviors], click to [show system actions], look to your table you wnat to remove-it and take a look an item called [Edit], open it and go to [Behavior] and type [false] on the field Only if this condition is true.
Try it please.
Hello @WalterWong, you can do that in a few ways:
1- Disable the "edit" permissions for the slice
2-Disable the "edit" permissions for that table
3-Disable the "edit" action based on a expression completely or based on an expression like CONTEXT()
Bear it mind its just the system generated edit action that's appearing there
You can also choose which actions are enabled for that slice.
By clicking the "trash" icon, there will be no actions for that slice.
Thanks for the assistance.
I need to maintain edit permissions on the slice as app users need to do quick edits in detail view, without access to the Edit action button, which opens form view.
3-Disable the "edit" action based on a expression completely or based on an expression like CONTEXT()
Where is the right place to place such an expression?
Regards,
Walter
Good morning,
Yes it is, you need to open [Behaviors], click to [show system actions], look to your table you wnat to remove-it and take a look an item called [Edit], open it and go to [Behavior] and type [false] on the field Only if this condition is true.
Try it please.
Hi @kasa1982
Yes, I tried to disable edit in Behavior section, but I cannot find the Slice there, only the main tables are there, no slices.
@WalterWong you can follow @kasa1982's instructions and instead of using "FALSE" as the condition you can write your expression there.
Ah...I got it now. Thanks for your assistance.
For the benefits of others, see this....
User | Count |
---|---|
26 | |
25 | |
24 | |
23 | |
20 |