Disabling pagination while showing assets from CQ5 DAM. | Community
Skip to main content
Level 2
October 16, 2015
Solved

Disabling pagination while showing assets from CQ5 DAM.

  • October 16, 2015
  • 5 replies
  • 1475 views

CQ5 DAM is showing only limited number of assets at a time from a DAM folder. How can i see all the assets in a DAM folder without using pagination.

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 Sham_HC

* Overlay /libs/wcm/core/content/damadmin/grid/assets
* Change the property pageSize from 15 to desire value. Say 100. OR you can try with -1
* Save the changes
* Refresh the damadmin page.

5 replies

smacdonald2008
Level 10
October 16, 2015

This is how CQ works - if you have 5000 assets in the JCR - it will not show 5000 rows. It will show x number of assets per page then you click to the next page to see the next number of assets, and so on. 

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

* Overlay /libs/wcm/core/content/damadmin/grid/assets
* Change the property pageSize from 15 to desire value. Say 100. OR you can try with -1
* Save the changes
* Refresh the damadmin page.

Level 2
October 16, 2015

Thank You.

I noticed one thing that there is a way to increase the size of assets displayed in one page view.  /apps/wcm/core/content/damadmin/grid/assets  has "pageSize" property which can be changed to accommodate more number of asset displayed in one page view.  But is there anyway it can be done programmatically to find total number of assets and update the pageSize accordingly ? 

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Surendra,

 You can access the property 'pageSize' of a node '/apps/wcm/core/content/damadmin/grid/assets' using JCR API and update it programmatically aswell.

October 20, 2016

Hi,

I am trying to increase the damadmin pageSize. I changed the pageSize property in "/libs/wcm/core/content/damadmin/grid/assets" but it still doesn't work. We are using AEM 6.0.

Is there some property which might be overriding this?