Configure display settings
- Check out the Communities configuration files:
cd app_server_root/profiles/Dmgr01/bin
./wsadmin.sh -lang jython
execfile("communitiesAdmin.py")
print AdminControl.getCell()
CommunitiesConfigService.checkOutConfig("/tmp", "cell_name")
- View current settings...
CommunitiesConfigService.showConfig()
- Change display settings...
CommunitiesConfigService.updateConfig("property", "value")
...where properties include...
Property Description pagingSupport.communityListTags.pageSize Maximum number of tags displayed on the views...
- I’m an Owner
- I’m a Member
- I’m Following
- I’m Invited
- Public Communities
For example:
CommunitiesConfigService.updateConfig("pagingSupport.communityListTags.pageSize", "75")
pagingSupport.dbNameTypeAhead.pageSize Maximum number of matching names to display in the type-ahead suggestion field when users start typing the names of people to add to a community. Retrieved from the DB table... SNCOMM.MEMBERPROFILE
For example:
CommunitiesConfigService.updateConfig("pagingSupport.dbNameTypeAhead.pageSize", "50")
pagingSupport.defaultPageSize Maximum number of entries to display on Communities bookmarks and feeds lists pages. Default is 10. Decrease to speed paging. For example: CommunitiesConfigService.updateConfig("pagingSupport.defaultPageSize", "25")
pagingSupport.ldapNameSearch.pageSize Maximum number of LDAP users returned when users click Search Directory to search the LDAP directory for a name when adding members to a community. For example: CommunitiesConfigService.updateConfig("pagingSupport.ldapNameSearch.pageSize", "50")
pagingSupport.memberNameTypeAhead.pageSize Maximum number of users displayed by the type-ahead feature when users click Search Directory to search the LDAP directory for a name when adding members to a community. For example: CommunitiesConfigService.updateConfig("pagingSupport.memberNameTypeAhead.pageSize", "15")
pagingSupport.tagNameTypeAhead.pageSize Maximum number of tags displayed by the type-ahead feature when users add new tags to a community. For example: CommunitiesConfigService.updateConfig("pagingSupport.tagNameTypeAhead.pageSize", "10")
- View changed settings...
CommunitiesConfigService.showConfig()
- Check the configuration files back in
Do so during the same wsadmin session in which you checked them out for the changes to take effect.
Parent topic:
Administer Communities