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

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

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

833 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you