Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM 6.0 - .txt rendition from .xml asset

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 1

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?

Avatar

Employee Advisor

I just tried on my local AEM 6.0 instance:

kind regards,
Jörg