レベル 1
レベル 2
コミュニティにログイン
詳細情報
ログインしてすべてのバッジを表示
コミュニティアチーブメントバーを展開する。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
We create a AEM pages using PageManager class. Like this I want to create a XML file dynamically and store in DAM location. Can anyone tell me what API should be used to create a XML files in AEM?
解決済! 解決策の投稿を見る。
Hi,
You need to use Asset API
com.day.cq.dam.api.AssetManager assetMgr = resourceResolver.adaptTo(com.day.cq.dam.api.AssetManager.class); assetMgr.createAsset(<attachmentPath>, <input stream>,<contentType>, true); for XML files, contentype = 'application/xml'
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/upload-assets-to-aem-using...
元の投稿で解決策を見る
Thank you Arun_Patidar
表示
いいね!
返信