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

Hide / Remove Form Actions

Avatar

Avatar
Validate 1
Level 2
Mahamood
Level 2

Likes

7 likes

Total Posts

30 posts

Correct Reply

5 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
Mahamood
Level 2

Likes

7 likes

Total Posts

30 posts

Correct Reply

5 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
Mahamood
Level 2

15-10-2015

Hi,

I am trying to hide the unwanted form out of box actions  , is there proper way to hide the same.

please refer the attachment and what I am trying to hide.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 6
Mshajiahmed
Level 6

Likes

15 likes

Total Posts

331 posts

Correct Reply

126 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
Level 6
Mshajiahmed
Level 6

Likes

15 likes

Total Posts

331 posts

Correct Reply

126 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Mshajiahmed
Level 6

15-10-2015

I suggest you to is copy the existing form from /libs/foundation/components/form

and create your own form component name it differently. In your app form you will be having /apps/<your_app_name>/foundation/components/form/actions

There are couple of scripts you need to modify in order to achieve desired functionality

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
Mahamood
Level 2

Likes

7 likes

Total Posts

30 posts

Correct Reply

5 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
Mahamood
Level 2

Likes

7 likes

Total Posts

30 posts

Correct Reply

5 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
Mahamood
Level 2

15-10-2015

Thanks for the update , basically the requirement is not to display the OOTB form actions to authors . I was looking for options to hide the OOTB form actions I tried to apply ACL , but it did not work other option tried is inside lib/foundation/component/form/actions and lib/foundation/commerce/component/actions node there are 4 components are there from where the list is appearing in OOTB form action. I removed the sling properties sling:resourceType=foundation/components/form/action , then the OOTB list got disappeared in form action.

Even I tried to do overlay , but it does not help.

I am not sure this is the best practice or good solution approach , please advice.