Skip to main content
New Member
Jan 16, 2025 10:46 AM UTC
Solved

Java API to create Asset in AEMaaCs programmatically as AssetManager.create is deprecated now

Hi All,

 

I am creating asset in AEM as cloud service using assetManager.createAsset() method but, I got to know this was deprecated.

 

Do we have any alternate Java API to use instead?

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

3 replies

gkalyan
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Jan 16, 2025 4:51 PM UTC

@user64476 You can still use "createOrReplaceAsset" or "createOrUpdateAsset" from Asset Manager

 

https://developer.adobe.com/experience-manager/reference-materials/cloud-service/javadoc/com/day/cq/dam/api/AssetManager.html

Translate
gkalyan
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Jan 16, 2025 4:53 PM UTC

Adding the screenshot for quick reference

Translate