admin Sites.html Listview additional custom column issue | Community
Skip to main content
alex_theys
Level 2
January 7, 2016
Solved

admin Sites.html Listview additional custom column issue

  • January 7, 2016
  • 4 replies
  • 1429 views

Hi all,

I've added  custom column following this github project instructions: https://github.com/Adobe-Marketing-Cloud/aem-sites-extension-listview-columns

However once more than 20 pages are created the lazyloader adds the additional rows without the data for the custom column.

For the sake of recreating the issue I will be using the github project example.

Using a fresh install of AEM 6.1 (Adobe Experience Manager Quickstart (build 20150521)) and following the steps on the github project, install the project on the aem instance.

Once done navigate to http://localhost:4502/sites.html/content/geometrixx-outdoors/en/men and copy paste the items until you have more that 20. Scroll until more items are loaded and you will end up with this:

The created column stops giving details of who created the page.

Is there a know issue with the out of the box PageInfoProviders not updating past the initial 20 records?

Cheers,

Alex

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

So, I think I'm actually getting closer, kind of...

in this file: /libs/cq/gui/components/siteadmin/admin/pagecard/pagecard.jsp (contents attached)

I outputed "providerName" in the for loop around line 310 of the attached file: for (Map.Entry<String, List<String>> columnInfoEntry : showColumnInfo.entrySet()) {

It seems the pre loaded result display this:

And the lazy loaded ones display this:

For some reason the info provider isn't registered for the lazy loaded records. 

4 replies

Lokesh_Shivalingaiah
Level 10
January 7, 2016

Hi, I think, they might be using another service to do a lazy load and you may have to make changes there aswell to get your custom column info. Let me check quickly and post it here.

alex_theys
Level 2
January 7, 2016

Great, thanks. That's what I'm thinking as well but I can't seem to find where it is located...

alex_theys
alex_theysAuthorAccepted solution
Level 2
January 7, 2016

So, I think I'm actually getting closer, kind of...

in this file: /libs/cq/gui/components/siteadmin/admin/pagecard/pagecard.jsp (contents attached)

I outputed "providerName" in the for loop around line 310 of the attached file: for (Map.Entry<String, List<String>> columnInfoEntry : showColumnInfo.entrySet()) {

It seems the pre loaded result display this:

And the lazy loaded ones display this:

For some reason the info provider isn't registered for the lazy loaded records. 

alex_theys
Level 2
January 8, 2016

Hi,

Have you had more luck than I?

Cheers,

Alex