Need to add one custom button besides move button in dam admin

lovepreetk75597

23-07-2019

Hi Everyone,

I have one requirement where i have to add new button besides move button in DAM admin with same functionality. I have overlaid this node "/apps/settings/granite/ui/shell/actions" and tried to add new button there But i have figured out that button names are pre-defined. So if i try to give any new name except copy,move,relate,unrelate or delete then am seeing blank space on DAM admin.

How could i add my custom button with custom name. Do i need to define this custom button somewhere else.

Following is the screenshots where am trying to configure custom button:

1798755_pastedImage_0.png

DAM admin :

1798758_pastedImage_3.png

Thanks & Regards,

Lovepreet

Accepted Solutions (1)

Accepted Solutions (1)

vipins5188

24-07-2019

Hi,


You are looking at wrong place, if you want to add new button than you have to overlayassetdetails page.

You have to overlay "/libs/dam/gui/content/assetdetails" under this you will find all button and their respective aciton.

Once you overlay and add your new button, you can add variant ,rendercondition and etc...

For example have a look how they have implementated move action /libs/dam/gui/content/assetdetails/jcr:content/actions/moveasset

Hope this helps.

Thanks,

Vipin