Expand my Community achievements bar.

SOLVED

what JCR node type combinations are possible?

Avatar

Level 8

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



Arun Patidar

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



Arun Patidar