Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Organizing Content Fragment Models in Folders.

Avatar

Level 6

Is there a way to organize content fragment models in folders? We have other 20 CF models, and it's really becoming hard to navigate. Is there namespacing for content fragment models in folders?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @AEMWizard  - 

 

To deal with the above problem to be able to locate the content fragment models, here is what you can actually consider : 

  • So unlike templates, content fragments are not actually alphabetically ordered by default.
  • However, we can nicely use a wonderful feature filter to be able to search a particular content fragment Model. You can filter by model title, last modified or tags etc..

Thanks

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hello @AEMWizard  - 

 

To deal with the above problem to be able to locate the content fragment models, here is what you can actually consider : 

  • So unlike templates, content fragments are not actually alphabetically ordered by default.
  • However, we can nicely use a wonderful feature filter to be able to search a particular content fragment Model. You can filter by model title, last modified or tags etc..

Thanks

 

Avatar

Community Advisor

Hi,

 

To organize the content fragments, we have been creating manual folder structure that is followed in all environments. The base folder structure can be managed via code and appropriate filter.xml filters.  Also, we provide author guidance and training regarding the structure that needs to be adhered to.

 

Hope that helps.

 

Shubham