Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

What's New Component

Avatar

Former Community Member

How to add configurations to get the author that how many pages he want to display on what's New, and also should get the most recent activated child class on top of the page.

1 Accepted Solution

Avatar

Correct answer by
Level 8

Create a custom component

Create a dialog and add a number field to dialog for entering the number of pages

Also add a pathfield to select a parent folder under which you keep the new pages

IN your jsp or html write logic like read the last replicated on property of the pages and  sort them in asc/desc order, the way you want

View solution in original post

2 Replies

Avatar

Level 10

I believe What's New is a custom component, so it depends on what are the inputs you are taking from the author.

To display the recent activated child, you need to do the customization

Avatar

Correct answer by
Level 8

Create a custom component

Create a dialog and add a number field to dialog for entering the number of pages

Also add a pathfield to select a parent folder under which you keep the new pages

IN your jsp or html write logic like read the last replicated on property of the pages and  sort them in asc/desc order, the way you want