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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to restrict tools bar actions from Assets menu

SivaPrasadReddyS
Level 7
Level 7

Hi All,

We have a requirement where we need to disabled options (Share, Chekout, To Collections, Move etc)from Asset menu. Please advise.

http://localhost:4502/assetdetails.html/content/dam/we-retail-screens/we-retail-instore-logo.png

1362477_pastedImage_1.png

Thanks

Siva

0 Replies
rmahendra
Employee
Employee

You can use render conditions to do this. The button will be shown if the render condition returns true. There are different render conditions ootb. See which one suits your need. You can create a custom render condition as well. Overlay the appropriate node to /apps and add the render condition. You can refer to /libs/dam/gui/content/assetdetails/jcr:content/actions/moveasset/granite:rendercondition/privilege.
1362559_pastedImage_0.png

edubey
Level 10
Level 10

If you simply want to disable those, you can overlay /libs/dam/gui/content/assetdetails/jcr:content/actions

and add disabled (boolean) = true for these actions

1362578_pastedImage_4.png

1362547_pastedImage_0.png

If these are based on user or some condition, you can leverage render conditions in AEM

SivaPrasadReddyS
Level 7
Level 7

Thanks for your prompt response.

But i'm not able to disable 'Share', Annotate, Add Rendition option even though i've added disabled property 'true'. please advise.

SivaPrasadReddyS
Level 7
Level 7

Can you please advise why the 'Share', 'Annotate' options are not disabled?