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?

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

4 Likes

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.

2 Likes

You can also choose which actions are enabled for that slice.

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

2 Likes

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

@WalterWong you can follow @kasa1982 's instructions and instead of using “FALSE” as the condition you can write your expression there.

1 Like

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.

Hi @Rafael_ANEIC-PY @kasa1982

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

For the benefits of others, see this…

1 Like

HI @Matheus_Souza

Thanks for your input too!

Cheers!