Configuring the Events widget
Configure the behavior of the community Events widgets by checking out the calendar-config.xml file and editing it directly.
Before you begin
Procedure
- Start the wsadmin client from the following
directory of the system on which you installed the Deployment Manager:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root\profiles\dm_profile_root\bin
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- Use the wsadmin client to access and check out the configuration
file:
- Enter the following command
to access the IBM Connections
configuration files: execfile("connectionsConfig.py")
If you are prompted to specify a service to connect to, type 1 to select the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file by using a local file path, you must select the node where the file is stored. This information is not used by the wsadmin client when you are making configuration changes.
- Enter the following command
to check out the calendar-config.xml configuration
file:
LCConfigService.checkOutCalendarConfig("working_directory","cell_name")
where:- working_directory is the temporary working directory to which the
configuration XML and XSD files are copied and are stored while you make changes to them. Use
forward slashes to separate directories in the file path, even if you are using the Microsoft
Windows operating system.
AIX, and Linux only: The directory must grant write permissions or the command does not run successfully.
- cell_name is the name of the WebSphere Application Server cell hosting the IBM Connections application. This argument is case-sensitive, so type it with care. If you do not know the cell name, type the following command while in the wsadmin command processor:print AdminControl.getCell()
- AIX or Linux:LCConfigService.checkOutCalendarConfig("/opt/temp","foo01Cell01")
- Microsoft Windows:LCConfigService.checkOutCalendarConfig("c:/temp","foo01Cell01")
- working_directory is the temporary working directory to which the
configuration XML and XSD files are copied and are stored while you make changes to them. Use
forward slashes to separate directories in the file path, even if you are using the Microsoft
Windows operating system.
- Enter the following command
to access the IBM Connections
configuration files: execfile("connectionsConfig.py")
- Open calendar-config.xml in a text editor.
- Edit any of the following configuration properties:
Option Description maxRepeatingCount Specifies the maximum number of instances of a repeating event. The default is 700. allowCommentsFromNonCommunityMember Specifies whether to allow all logged in users with access to the community to comment on the event. The default value is true. When the property is set to false, only community members can comment on the community events. icalFeed Specify the range of time for displaying events in a personal calendar. You can specify two values: - startFrom specifies how old in months an event can be.
- endTo specifies how far in the future in months an event can be.
- To check in the changed calendar-config.xml file,
use the following command:
LCConfigService.checkInCalendarConfig("working_directory", "cell_name")
- After making updates, type the following command to deploy
the changes:
synchAllNodes()
- To exit the wsadmin client, type
exit
at the prompt. - Stop and restart all the IBM Connections application servers.