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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.