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

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

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.
Nitin_laad
Nitin_laadAccepted solution
New Participant
May 17, 2022 2:07 AM UTC

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
Nitin_laadAccepted solution
New Participant
May 17, 2022 2:07 AM UTC

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

Translate