Configuring Galleries
Configure the behavior of Gallery widgets by checking out and editing gallery-config.xml. Galleries are community widgets that display thumbnails of files such as photos, videos, and office documents.
Before you begin
About this task
Check out gallery-config.xml, edit the gallery configuration properties, and then check the file back in.
Procedure
To edit the gallery configuration properties, complete
the following steps.
- Start the wsadmin client.
- Use the wsadmin client to access and check out the HCL Connections configuration files:
- Open gallery-config.xml in an editor
and edit any of the configuration properties that are outlined in
table 1.
Table 1. Configuration properties Configuration property Description Possible values Default maxNumberOfEntries The maximum number of thumbnails to show in the Gallery. Any positive integer. 12 maxNumberOfRows The maximum number of rows of thumbnails to show in the Gallery. Any positive integer. 2 sources The types of folders to show in the gallery. If sources is set to communityFolders, only folders that are created in this community can be displayed in the Gallery. If sources is set to communityFolders,personalFolders, personal folders that are shared with the community can also be displayed in the Gallery. Note: If personal folders can be displayed in the Gallery, then community folders must also be displayed in the GallerycommunityFolders or communityFolders,personalFolders communityFolders,personalFolders - Save gallery-config.xml and check
it in using the following command:
LCConfigService.checkInGalleryConfig("working_directory", "cell_name")
- Type the following command to deploy the changes:
synchAllNodes()
- To exit the wsadmin client, type exit at the prompt.
- Stop and restart all of the HCL Connections application servers.