Description Syntax Example setAnnouncementServiceProperty

10-66 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.7.10.2 Syntax

listDiscussionForumServicePropertiesappName, [server, applicationVersion]

10.7.10.3 Example

The following example lists configuration properties for the Discussions service, in an application named webcenter. wls:weblogicserverConfig listDiscussionForumServicePropertiesappName=webcenter

10.7.11 setAnnouncementServiceProperty

Module: Oracle WebCenter Use with WLST: Online

10.7.11.1 Description

Specifies default values for the Announcements service. Configurable properties for the Announcements service are listed in Table 10–11, Announcements Service Configuration Properties .

10.7.11.2 Syntax

setAnnouncementServicePropertyappName, property, value, [server, applicationVersion} Argument Definition appName Name of the WebCenter application in which to perform this operation. 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. Table 10–11 Announcements Service Configuration Properties Configuration Property Description miniview.page_size Maximum number of announcements displayed in the Announcements mini view. mainview.page_size Maximum number of announcements displayed in the Announcements main view. linksview.page_size Maximum number of announcements displayed in the Announcements links view. announcements.expiration. days Number of days that announcements display and remain editable. Argument Definition appName Name of the WebCenter application in which to perform this operation. property Name of the configuration property. Oracle WebCenter Custom WLST Commands 10-67

10.7.11.3 Example

The following example changes the default number of days that announcements display, in an application named webcenter. wls:weblogicserverConfig setAnnouncementServicePropertyappName=webcenter, property=announcements.expiration.days, value=21

10.7.12 removeAnnouncementServiceProperty