Any way to globally change the number of spaces shown on the dashboard?

Neil Arrowsmith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2012

I'm testing an upgrade from Confluence 3.0.2 to 4.1, and would like to get ALL my 31 spaces listed on the dashboard. Currently, only the first 20 are shown. I realise that individual users can mark favourites, but I don't anticipate a lot of people taking the time to do this.

Is there a config file somewhere that I can edit to increase the 20 to a higher number?

1 answer

1 accepted

1 vote
Answer accepted
Adam Myatt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2012

I'm not 100%, but from my checking of the Confluence source code it seems this is buried in the Java code on the backend. The Dashboard action seems to call up to UserInterfaceState which has these params :

public static final int DEFAULT_MAX_RECENTLY_ADDED_PAGE_COUNT = 10;
public static final int DEFAULT_MAX_RECENTLY_UPDATED_PAGE_COUNT = 20;
public static final int LIMIT_RECENTLY_ADDED_PAGE_COUNT = 50;
public static final int LIMIT_MAX_RECENTLY_UPDATED_PAGE_COUNT = 50;

I'm not positive, but tracing through code I can't find any other parameter set to 20 that would impact the dashboard list of spaces, other than com.atlassian.confluence.plugins.macros.dashboard.GlobalEntitiesContextProvider.MAX_RESULTS which is also 20.

Neil Arrowsmith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2012

Thanks Adam. It's not so important to me to justify messing round in the code and rebuilding. But thanks for looking into it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events