AEM 6.0 - .txt rendition from .xml asset | Community
Skip to main content
New Participant
October 16, 2015
Solved

AEM 6.0 - .txt rendition from .xml asset

  • October 16, 2015
  • 3 replies
  • 1033 views

Hello!

Is it possible to create a .txt rendition from an asset that is an .xml file? If it is possible, how would one go about doing it?

Thanks!

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 joerghoh

Hi,

So you have dropped a XML file into AEM and now you have a nt:file node for this file? Have you tried to use the default renditions?

For example if you dropped the file int /content/dam/myfile.xml, you can try http://localhost:4502/content/dam/myfile.xml.txt

Cheers,
Jörg

3 replies

joerghoh
joerghohAccepted solution
Employee
October 16, 2015

Hi,

So you have dropped a XML file into AEM and now you have a nt:file node for this file? Have you tried to use the default renditions?

For example if you dropped the file int /content/dam/myfile.xml, you can try http://localhost:4502/content/dam/myfile.xml.txt

Cheers,
Jörg

New Participant
October 16, 2015

Hi Jorg!

The default renditions (which are all image files – .png and .jpeg) are not being created for this file. Which is okay, because I want to create a rendition that is a .txt file.

Here's a screenshot of what I see in CRXDE Lite:

[img]Screen Shot 2015-02-11 at 9.10.03 AM.png[/img]

I tried what you suggested, and it didn't work for me. Do I have to create a custom rendition? If so, how do I do it?

joerghoh
Employee
October 16, 2015

I just tried on my local AEM 6.0 instance:

kind regards,
Jörg