Retaining metadata outside of AEM | Community
Skip to main content
TheBigRed
New Participant
October 16, 2015
Solved

Retaining metadata outside of AEM

  • October 16, 2015
  • 3 replies
  • 748 views

Is there a way where metadata created in the DAM can be retained, if I downloaded the asset and viewed it outside of AEM?

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 smacdonald2008

Yes - metadata is only a property on a node. You can write an external JCR API Java app that can query nodes and read props. Then store then in a collection - like an arraylist or something. Then write them out somewhere -ie - an excel report. 

See this article for an idea:

https://helpx.adobe.com/experience-manager/using/java-swing-applications.html

Hope this helps...

3 replies

joerghoh
Employee
October 16, 2015

Hi,

For all (?) fileformats, which support XMP metadata, the metadata are written back into the binary by default when you change them in AEM. So when you download the assets afterwards, they are contained within the binary asset itself.

kind regards,
Jörg

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

Yes - metadata is only a property on a node. You can write an external JCR API Java app that can query nodes and read props. Then store then in a collection - like an arraylist or something. Then write them out somewhere -ie - an excel report. 

See this article for an idea:

https://helpx.adobe.com/experience-manager/using/java-swing-applications.html

Hope this helps...

TheBigRed
TheBigRedAuthor
New Participant
October 16, 2015

Well more of retaining it rather than viewing it through a swing app.

IE:

If I download an asset on to my computer. I'd want to see the metadata when I view file properties.