Hi Team
I would like do some customizations on create button on /content/dam. Could you please guide me how to do that. My requirement is to delete folder option.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Prashardan,
The /assets.html is a short link for /libs/dam/gui/content/assets. The list of Create actions are listed under: /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items.
Create folder action: /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/createfolder.
So, you need to do overlay of this action and add sling:hideResource=true.
As a result you will get something like this:
Hi @Prashardan,
The /assets.html is a short link for /libs/dam/gui/content/assets. The list of Create actions are listed under: /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items.
Create folder action: /libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/createfolder.
So, you need to do overlay of this action and add sling:hideResource=true.
As a result you will get something like this:
Many thanks for your reply. It worked perfectly.
I want to do one more customization that is based on user I want to hide few options under create button. Any leads please.
Views
Likes
Replies