Description Syntax Example setDiscussionForumServiceProperty

Oracle WebCenter Custom WLST Commands 10-63 The following example lists the name and details of the discussions server connection that the DiscussionsAnnouncements service are using. wls:weblogicserverConfig listDefaultDiscussionForumConnectionappName=webcenter, verbose=1

10.7.7 setDefaultDiscussionForumConnection

Module: Oracle WebCenter Use with WLST: Online

10.7.7.1 Description

Specifies the default discussions server connection for the Discussions service and the Announcements service, in a named WebCenter application. While you can register multiple discussions server connections with a WebCenter application, the DiscussionsAnnouncements services only uses one connection—this is known as the default or active connection.

10.7.7.2 Syntax

setDefaultDiscussionForumConnectionappName, name, [server, applicationVersion]

10.7.7.3 Example

The following example makes a connection named myDiscussionServer the default or active connection for the Discussions and Announcement services. wls:weblogicserverConfig setDefaultDiscussionForumConnection appName=webcenter, name=myDiscussionServer

10.7.8 setDiscussionForumServiceProperty

Module: Oracle WebCenter Use with WLST: Online

10.7.8.1 Description

Specifies default values for the Discussions service. Configurable properties for the Discussions service are listed in Table 10–10, Discussion Service Configuration Properties . Argument Definition appName Name of the WebCenter application in which to perform this operation. name Name of an existing discussions server connection. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. 10-64 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.7.8.2 Syntax

setDiscussionForumServicePropertyappName, property, value, [server, applicationVersion]

10.7.8.3 Example

The following example changes the default number of topics displayed in topics view. wls:weblogicserverConfigsetDiscussionForumServiceProperty appName=webcenter, property=topics.fetch.size, value=30 Table 10–10 Discussion Service Configuration Properties Configuration Property Description topics.fetch.size Maximum number of topics fetched by the Discussions service and displayed in the topics view. forums.fetch.size Maximum number of forums fetched by the Discussions service and displayed in the forums view. recentTopics.fetch.size Maximum number of topics fetched by the Discussions service and displayed in the recent topics view. watchedTopics.fetch.size Maximum number of topics fetched by the Discussions service and displayed in the watched topics view. watchedForums.fetch.size Maximum number of forums fetched by the Discussions service and displayed in the watched forums view. application.root.category .id Application root category ID on the discussions server under which all discussion forums are stored. For example, if set to 3, all forums are stored inside category 3. ForumGatewayManager.AUTO_ START Communication through mail distribution lists can be published as discussion forum posts. This parameter starts or stops the gateway for this communication. For WebCenter Spaces, the default value is 1, which means that as soon as you configure mail server settings through administration, the gateway starts. Set this to 0, and restart the managed server, to stop the gateway and disable this feature. For WebCenter Portal applications, the default value is 0. Set this to 1, and restart the managed server, to start the gateway and enable this feature. Argument Definition appName Name of the WebCenter application in which to perform this operation. property Name of the configuration property. value Value for the property. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. Oracle WebCenter Custom WLST Commands 10-65

10.7.9 removeDiscussionForumServiceProperty