Expand my Community achievements bar.

Introducing Adobe LLM Optimizer: Own your brand’s presence in AI-Powered search and discovery

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Add new sort field for List component?

Avatar

Level 2

We have a use case in on our site to use the core List component for an articles list. We would like to sort the list by a field other than lastModified or title. What would be an the correct way to add another sort field?

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hello,

Also, just don't extend everything from dialog rather merge the dialog based on need. as in this case you just want sort by feature to be extended not rest. 

also refer: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer...

View solution in original post

2 Replies

Avatar

Community Advisor

you can extend the core component, e.g. https://helpx.adobe.com/experience-manager/using/extend_jave_corecomponents.html

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Correct answer by
Level 9

Hello,

Also, just don't extend everything from dialog rather merge the dialog based on need. as in this case you just want sort by feature to be extended not rest. 

also refer: https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer...