Expand my Community achievements bar.

SOLVED

Hide OOTB form actions

Avatar

Level 4

Hi guys,

 

We've added a custom form action type (/apps/<project>/components/form/actions) to the list of form action types that show in the OOTB form container ActionType drop down.

anjali_biddanda_0-1622688521510.png

I want to hide some of the OOTB actions: /libs/commerce/components/actions/submitorder that show in this drop down. 

This drop down picks up all resource types 'foundation/components/form/action' everywhere. I've tried overlaying them inside my project and using sling:hideResource, doesn't work. 

Any ideas?

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 4

You can do this with ACLs. Works nicely.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

You can do this with ACLs. Works nicely.