Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

what JCR node type combinations are possible?

Avatar

Level 7

as above.

 

To better explain the question, I have this example:

 

I have this node (/content/data/marketo/events) of type nt:folder. In CRXDE if I create a new node of type nt:unstructured inside the events folder, I would get an error.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

To get information about possible properties and children nodes , you need to look for CND files 

example - https://docs.jboss.org/author/display/MODE50/Compact%20Node%20Type%20(CND)%20files.html

 

You can simple look for cnd file in CRXDE e.g. /libs/cq/commons/nodetypes/core.cnd

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @jayv25585659 

nt:folder: This node type represents a plain file system folder (it can have nt:folder and nt:file children and only a few restricted meta data properties) // so quite restricted in terms of properties and nodes.

AEM has restrictions on what node can go under other nodes -Please check if this helps - https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/2.0/3_Repository_Model.h.... However, I believe A nt:unstructured node cannot be created under the type nt:folder, but possible to create under sling:folder. Please refer similar thread here: 

  1. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/nt-unstructured-is-not-all... 
  2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/structre-of-aem-components...

Hope that helps!

Regards,

Santosh

Avatar

Correct answer by
Community Advisor

Hi,

To get information about possible properties and children nodes , you need to look for CND files 

example - https://docs.jboss.org/author/display/MODE50/Compact%20Node%20Type%20(CND)%20files.html

 

You can simple look for cnd file in CRXDE e.g. /libs/cq/commons/nodetypes/core.cnd