Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

AEM Assets: Importing metadata with non-existing tags

Avatar

Level 1

Hello,

Is there a way in which I can automatically update the metadata of my assets with values that don't exist in AEM?

For example, I would like to bulk-update assets with tags. Some of the tags exist, but some don't. Is there a way I can make AEM create the tags that don't exist and assign them to my asset?

 

I am using the Assets Metadata Import functionality and noticed that if the tags are not available in AEM, they do not get created.

 

Many thanks,

Ana

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee
2 Replies

Avatar

Correct answer by
Employee

Avatar

Community Advisor

@ana_i-ensemble ,

Previous verdict was Adobe didnt support Tag creation 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-assets-api-how-to-crea...

 

I fear still thats the case 😞 😞

 

Now, adobe recently has introduced experimental APIs. In my project, I am programatically importing assets from url  https://adobe-aem-assets-author-assetimport.redoc.ly/#operation/importFromUrl

This API allow assetMetadata object and we can pass 

/content/cq:tags/test tag as argument 

Second usecase, I am using https://developer.adobe.com/experience-cloud/experience-manager-apis/api/stable/sites/ to create Content Fragment using OpenAPI. And add tags to the CF.

 

But all above cases, I had to create Tags inside AEM using java Tagging API. 

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/pla...

So far, I too haven't seen ability to create tags outside AEM. 

 

You ll need to build a Sling job that preprocess data, create required tags. And then release Kraken to import metadata. Nothing better available so far.