Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Hide OOTB form actions

anjali_biddanda
Level 4
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
anjali_biddanda
Correct answer by
Level 4
Level 4

You can do this with ACLs. Works nicely.

View solution in original post

1 Reply
anjali_biddanda
Correct answer by
Level 4
Level 4

You can do this with ACLs. Works nicely.

View solution in original post