Example: Changing the number of teamspaces displayed on the TCM Home tab   

When a user displays the Home tab, the teamspaces added to the "My Teamspaces" list appear at the top. By default, the TCM application displays up to five (5) teamspaces on the page. If there are more than five teamspaces available, the application displays paging buttons and the user selects a new page to display additional teamspaces. For this example, assume that you want to change the number of teamspaces displayed on a page to ten (10) so that your users can see more available teamspaces at once.

The number of teamspaces shown is controlled by the pageSize property of the MyTeamspacesList module. You can change this value as follows:

  1. Open the TCMConfig.xml file for editing. The TCMConfig.xml file is located by default in the Collaboration\TCM\WEB-INF\Config folder on the Collaboration Engine.
  2. Locate the list modules section of the file. Search the file for the MyTeamspaceList module. Locate the pageSize value, highlighted in the segment below:

    <!-- list modules -->
    <module id="MyTeamspacesList">
    <class>com.filenet.clb.toolkit.server.ui.list.ClbTeamspacesListView</class>
    <property name="pageSize" value="5"/>
    <property name="showPages" value="true"/>
    <property name="selectable" value="true"/>
    <property name="columnInfo" value="HomeTeamspacesColumnInfo"/>
    <property name="sortColumn" value="true"/>
    <property name="datetimeFormat" value="dateOnly"/>
    <property name="retrieveMyTeamspaces" value="true"/>
    <dp-modules>
    <dp-module>CollaborationDP</dp-module>
    <dp-module>PreferencesDP</dp-module>
    </dp-modules>
    </module>
  3. Change the value from "5" to "10" to display ten teamspaces before starting a new page. Your code will look like this:
        <!-- list modules -->
    <module id="MyTeamspacesList">
    <class>com.filenet.clb.toolkit.server.ui.list.ClbTeamspacesListView</class>
    <property name="pageSize" value="10"/>
    <property name="showPages" value="true"/>
    <property name="selectable" value="true"/>
    <property name="columnInfo" value="HomeTeamspacesColumnInfo"/>
    <property name="sortColumn" value="true"/>
    <property name="datetimeFormat" value="dateOnly"/>
    <property name="retrieveMyTeamspaces" value="true"/>
    <dp-modules>
    <dp-module>CollaborationDP</dp-module>
    <dp-module>PreferencesDP</dp-module>
    </dp-modules>
    </module>
  4. Save and close all files. Recycle the Application Server (Tomcat, Weblogic, etc.) to eliminate any cached copies of the configuration files, then restart the Collaboration Engine.