Asset API to create folders dynamically under content/dam | Community
Skip to main content
August 13, 2024
Solved

Asset API to create folders dynamically under content/dam

  • August 13, 2024
  • 3 replies
  • 1142 views

Hi Team,

Is there any asset API to create folders dynamically under content/dam or please suggest recommended approach to do the same?

 

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Hi, 

You could use the Assets API - Create folder endpoint, please check here how to use it: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac-api-assets#create-a-folder 

 

Hope this helps

3 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 14, 2024

Hi, 

You could use the Assets API - Create folder endpoint, please check here how to use it: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac-api-assets#create-a-folder 

 

Hope this helps

Esteban Bustamante
Adobe Employee
August 14, 2024
Hemalatha
Level 4
August 14, 2024

Hi @aemcomm 

 

Check the below sample article for your use case,

https://medium.com/@debal.india2014/explore-aem-assets-http-api-with-java-code-a6729bdbe9e7

 

Regards,

Hemalatha C