Expand my Community achievements bar.

API to bulk update assets metadata

Avatar

Level 5

Hi.

 

Is there an API or other way to update metadata of multiple assets in bulk from third-party platform, in an AEM on-prem setup

 

I already reviewed this article https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/how-to-bulk-update-.... But it only talks about ways to do it from within AEM, like using ACS commons stuff for example. While.I need to trigger the bulk update from another platform that integrates with AEM.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

Hi,

 

Not that I am aware of. Outside of AEM, you only have the Assets API which will trigger a single operation at a time (https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac...). If you don't want to trigger the bulk update from within AEM, you could still add a servlet as a wrapper, and expose a URL which internally triggers one of the methods you mentioned to perform the bulk update (ACS Commons, etc.).

 

Hope this helps.

 



Esteban Bustamante

Avatar

Level 5

Thank for confirmimg my thoughts. I wanted to see if I can avoid having to write any custom endpoint to handle buld requests from outside.

Avatar

Community Advisor

Hi @Tethich 
In the past, we used a Groovy script to update asset metadata based on business logic, with data inputs provided as JSON directly through the Groovy Console.

 

In our use case we have not fetched any data from third-party APIs but the data source was json



Arun Patidar