Allow only a predefined content fragment to be selected in AEM Dialog box. | Community
Skip to main content
Level 2
May 16, 2022
Solved

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

  • May 16, 2022
  • 1 reply
  • 606 views

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.  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Nitin_laad

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

1 reply

Nitin_laad
Community Advisor
Nitin_laadCommunity AdvisorAccepted solution
Community Advisor
May 17, 2022

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