Expand my Community achievements bar.

SOLVED

Bulk edit the DAM assets by adding cq:tags in the metadata for the assets

Avatar

Level 2

Hi All, I was going through the https://docs.adobe.com/docs/en/cq/5-6-1/administering/bulk_editor.html and I am able to search all the assets through this utility. I added the Custom Properties / Columns as cq:tags to edit the tags using the export, but it doesn't show the the cq:tags for the asset. Is there anyway I can export all the assets with its metadata information and add a common tags for all the assets. As adding the same tags for so many assets is difficult process, so if anyway we can do it using the export, i will be great. 

Please suggest the solution which I can use for editing the assets in one go.     

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi Sandeep Rawat

As mentioned by Scott, the needful can be achieved using Tag Manager APIs.

Please find analogous example for the same :-

Link:- https://helpx.adobe.com/experience-manager/using/tagmanager.html

// You can develop a custom event handler for Adobe Experience Manager (AEM) that uses the TagManager API to add a tag to a new page.That is, when an AEM author creates a new page using site admin, an AEM event handler is invoked and automatically tags the page. To work with tags, you use the AEM TagManager API.

 I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Level 2

Hi, thanks for the response, I am looking for an ootb functionality which does this as this project has no implementation. We are only managing the assets in the DAM so we don't have any projects where I can implement this.

Avatar

Correct answer by
Administrator

Hi Sandeep Rawat

As mentioned by Scott, the needful can be achieved using Tag Manager APIs.

Please find analogous example for the same :-

Link:- https://helpx.adobe.com/experience-manager/using/tagmanager.html

// You can develop a custom event handler for Adobe Experience Manager (AEM) that uses the TagManager API to add a tag to a new page.That is, when an AEM author creates a new page using site admin, an AEM event handler is invoked and automatically tags the page. To work with tags, you use the AEM TagManager API.

 I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 2

kautuksahni wrote...

Hi Sandeep Rawat

As mentioned by Scott, the needful can be achieved using Tag Manager APIs.

Please find analogous example for the same :-

Link:- https://helpx.adobe.com/experience-manager/using/tagmanager.html

// You can develop a custom event handler for Adobe Experience Manager (AEM) that uses the TagManager API to add a tag to a new page.That is, when an AEM author creates a new page using site admin, an AEM event handler is invoked and automatically tags the page. To work with tags, you use the AEM TagManager API.

 I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

 

Hi Kautuk, thanks for the response, as I need this solution for the DAM assets not with the cq page. So the user wants whenever he is uploading images, the tags should get added automatically to the image or video. And also with the existing assets in the DAM, he wants them to modify in bulk to add the tags for all the images.

I can create a servlet which can do this activity for existing assets but they want something in the DAM, which will automatically work, whenever they are uploading images.

Avatar

Administrator

Hi Sandeep

You could create a custom uploading component and after uploading of assets completes, you can create a code of adding tags to the same.

Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html

//Here in doPost method you can write a code to add tags to the assets.

 

I hope this would help you.

 

Thanks and regards

Kautuk Sahni



Kautuk Sahni