Write to a file in /content/dam or to /etc/designs | Community
Skip to main content
New Participant
October 16, 2015
Solved

Write to a file in /content/dam or to /etc/designs

  • October 16, 2015
  • 4 replies
  • 1517 views

Hello All,

I am writing a java code to write an xml file. I am able to get an xml file to my local desktop.

Now I am looking to write it to /content/dam or to /etc/designs

any ideas how to go ahead ?

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 Lokesh_Shivalingaiah

Then, as @Scott mentioned using AssetManager API is the best way to do.

4 replies

smacdonald2008
New Participant
October 16, 2015

I would personally use the DAM to store the XML asset. You can use the AssetManager API

See this community article to learn how to upload files to the AEM DAM using the AssetManager API.

https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html 

Lokesh_Shivalingaiah
New Participant
October 16, 2015

You want to store the complete XML file as is like an asset or do you want to create a content parsing XML ?

New Participant
October 16, 2015

I want to store the complete xml file as an asset ?

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

Then, as @Scott mentioned using AssetManager API is the best way to do.