Remove Edit Action in Slice View

Hi

Is there any way to disable or remove system generated Edit action on a slice in UX detail view?

Solved Solved
0 8 646
2 ACCEPTED SOLUTIONS

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

View solution in original post

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.

kasa1982_0-1653657337145.png

 

Try it please.

View solution in original post

8 REPLIES 8

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.

Matheus_Souza_0-1653658059839.png

By clicking the "trash" icon, there will be no actions for that slice.

 

HI @Matheus_Souza 

Thanks for your input too!

Cheers!

Hi @Rafael_ANEIC-PY 

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.

kasa1982_0-1653657337145.png

 

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.

Hi @Rafael_ANEIC-PY @kasa1982 

Ah...I got it now. Thanks for your assistance.

For the benefits of others, see this....

screenshot-www.appsheet.com-2022.05.28-10_39_55.png

Top Labels in this Space