Expand my Community achievements bar.

SOLVED

nt:unstructured

Avatar

Level 4

Hi,

I want to use the adaptTo method on a nt:unstructure node is this possible and what is the class for nt:unstructured.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hi,

The Web Console shows you a list of adaptables and what they can be adapted to:

http://localhost:4502/system/console/adapters

 

edit: here is the doc page: http://dev.day.com/docs/en/cq/current/developing/sling-adapters.html

scott

View solution in original post

2 Replies

Avatar

Correct answer by
Level 8

Hi,

The Web Console shows you a list of adaptables and what they can be adapted to:

http://localhost:4502/system/console/adapters

 

edit: here is the doc page: http://dev.day.com/docs/en/cq/current/developing/sling-adapters.html

scott

Avatar

Level 5

Hello,

What is your Use case ? What will be final AdapTo object ? Note that you can write your own adapter as well to AdapTo any custom Object. Here is example http://www.wemblog.com/2013/07/how-to-use-adapters-in-adobe-cq-aem.html

Yogesh