Expand my Community achievements bar.

SOLVED

How to render plain text in CQ?

Avatar

Level 4

Hello,

I created a node with jcr:mimeType = text/plain and jcr:primaryType = nt:resource.
But this node displays as HTML page.

Is it possible to render this node like a plain text?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

What is your use case?   If you want to render text just store it in damadmin and access url directly.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

What is your use case?   If you want to render text just store it in damadmin and access url directly.