Difference between nt:folder, sling:folder & sling:orderedFolder

In CQ5 we use these node types interchangeably but at time we need to know the intricacies of these different types of nodes.

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.

sling:folder -: This node type is basically nt:folder + nt:unstructured in one, i.e. it can be used inside other nt:folders. // should be used more often.

sling:orderedFolder -: The following node type is sling:folder + an ordering scheme bundled into one. Sling ordered folders just keep the order in which nodes are inserted,  the nodes won’t do any sorting by themselves

Advertisements

One thought on “Difference between nt:folder, sling:folder & sling:orderedFolder

  1. Pingback: Clientlibs, CSS or JS file not replicating or flushing from dispatcher CQ5/AEM | cqwemblog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s