News
In AEM Cloud, news is managed using Content Fragments, the News List Component, and reusable page templates.
Example
How it works
-
News as Content Fragments
News articles are created as Content Fragments, which follow the structure defined by the Content Fragment Model for News.
-
News List Component
The News List Component is used to display the news on a webpage. It is configured to retrieve news articles from a specified folder in Content Fragments. For the correct news to be displayed in the component, both the News List Component and the news articles must have the same tags.
Reusable pages for news display
Two reusable pages are set up to present news. They integrate seamlessly with the News List Component and Content Fragments and configured once during the initial site setup.
- Individual news article page: Created using the Share Page template, this page displays the details of a single news article.
- News listing page: Also based on the Share Page template, this page provides a list view of all relevant news articles, linking to their respective detail pages.