Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Allow only a predefined content fragment to be selected in AEM Dialog box.

Avatar

Level 2

We want to create a custom content fragment component which restricts only one type of content fragment type/model. OOTB content fragment component allows selecting any CF model.  

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ajoshi84 One option is to implement custom validation client side or server side (javascript or servlet)and check for required model path. 

Ref - 

Solved: Content Fragment Component Validation - Adobe Experience League Community - 424287

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @ajoshi84 One option is to implement custom validation client side or server side (javascript or servlet)and check for required model path. 

Ref - 

Solved: Content Fragment Component Validation - Adobe Experience League Community - 424287