Expand my Community achievements bar.

SOLVED

Structre of aem components

Avatar

Level 2
                why cant we create a "nt:unstructured" node under /apps/project/content folder? i am getting an error showing:  Could not save changes. Received 409 (Conflict) for saving changes in workspace crx.default. OakConstraint0001: /apps/demo/components/content[[nt:folder]]: No matching definition found for child node test with effective type [nt:unstructured] Could not save changes. Received 409 (Conflict) for saving changes in workspace crx.default. OakConstraint0001: /apps/demo/components/content[[nt:folder]]: No matching definition found for child node test with effective type [nt:unstructured]  
1 Accepted Solution

Avatar

Correct answer by
Employee

This is because the restriction of the use node types, in your case you can use sling:Folder too.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

This is because the restriction of the use node types, in your case you can use sling:Folder too.

Avatar

Level 10

AEM has restrictions on what node can go under other nodes. 

This folder structure looks wrong: 

 /apps/project/content folder

I have never seen /content folder under the project. 

A typical AEM folder structure under /apps is:

We have a lot of articles that talk about this. Take a look at this one: 

How to Create a Fully Featured Internet Website

or 

Creating your first AEM HTML Template Language component