Apply page content type validation to Content Reference in Content Fragment Model
When creating a Content Fragment Model there is a data type of "Content Reference". This allows the content author to browse and select content within AEM. The data type has validation options where only specific content types are allowed in the property.
Make this field only accept specific content types:
- Content Fragment
- Plain Text
- Rich Text
- Image
- Audio
- Video
- PDF Document
- Spreadsheet
- Presentation
- Archive
- Markup
In our case we are hybrid headless so much of the content is traditional pages. We have a use-case in a content fragment where the user should only select a Page. Is there any way to do so?
AEM 6.5.17
AEM 6.5.18