Configuring Sort functionality for overlay column in list-view sites console | Community
Skip to main content
Level 3
November 10, 2016

Configuring Sort functionality for overlay column in list-view sites console

  • November 10, 2016
  • 2 replies
  • 3234 views

Hi Team,

 

We overlayed a column in list-view[Screenshot1], followed the steps that mentioned in adobe doc's 

https://docs.adobe.com/content/docs/en/aem/6-1/develop/extending/customizing-consoles-touch.html 

Extended PageInfoProvider class & added custom values[Screenshot3]. The values are displaying without any issues but sort functionality is not working.

We added all the sort attributes that are availble in default columns like published, modified, but no luck. We got to know that data-timestamp[Screenshot2] is getting added to both published & modified columns based on that sort is working whereas in our case we just added properties for json. Is there any way wher how to add that data-timestamp or any other way to make sort work.

 

Regards,

Teja G

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
November 10, 2016

Have you installed the code examples that the topic points you to: 

aem-admin-extension-new-console is a sample package showing how to create a new AEM 6 console. This package provides a UI for managing Launches and adds a link in the navigation:

CODE ON GITHUB

You can find the code of this page on GitHub

Open aem-admin-extension-new-console project on GitHub
Download the project as a ZIP file

Teja_GAuthor
Level 3
November 14, 2016

downloaded the package from Github & installed it, still facing same issue. In that package its displaying as Calendar object [Screenshot4] coz from service they are sending Calendar object. We tried adding the sort attributes that are available for published & modified no luck[screenshot5].. Is there anyway to find how they are adding data-timestamp for published & modified columns so that we can take it up..??

smacdonald2008
Level 10
November 14, 2016

I got same results - as Gilles pointed out - i am not sure this version of AEM supports this. 

Adobe Employee
November 11, 2016

Unfortunately, I think that's a limitation of the 6.1 extension point, as written on the documentation page:

This feature is optimized for columns of text fields; for other data types it is possible to overlay cq/gui/components/siteadmin/admin/listview/columns/analyticscolumnrenderer in /apps.