Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Add custom column on site list view of AEM 6.5

Avatar

Level 1

I would like to add some columns on site list view for better identifying pages

I have found am example on https://github.com/Adobe-Marketing-Cloud/aem-sites-extension-listview-columns

but it seems old and could not be built.

 

I tried to follow the logic of the example, by adding a subclass of PageInfoProvider and availabecolumns in crxde.

I can choose the new field on configure columns site list view, but cannot show any value of the field

Screenshot 2021-04-27 152100.png

 

I have verified the subclass of PageInfoProvider is running properly by going to

/libs/wcm/core/content/pageinfo.json?path=<page_path>

the new values are added

 

Any newer example to add columns to site list view?

2 Replies

Avatar

Level 2

@charlieshumCan you check if any errors are thrown during custom field selection in browser console and logs?  

Avatar

Level 1

No. I even cannot see the debug logs of the PageInfoPrivider

I have also tried to use js clientlib to implement this. However, when loading the site list view, seems none of the DOM events, like foundation-contentloaded is triggered.