Description Syntax Example setIMPServiceProperty

10-92 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.9.8.3 Example

The following example makes a connection named myPresenceServer the default or active connection for the Instant Messaging and Presence service. wls:weblogicserverConfigsetDefaultIMPConnectionappName=webcenter, name=myPresenceServer

10.9.9 setIMPServiceProperty

Module: Oracle WebCenter Use with WLST: Online

10.9.9.1 Description

Specifies default values for the Instant Messaging and Presence service. Configurable properties for the Instant Messaging and Presence service are listed in Table 10–15, Instant Messaging and Presence Service Configuration Properties . Argument Definition appName Name of the WebCenter application in which to perform this operation. name Name of an existing instant messaging and presence 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. Table 10–15 Instant Messaging and Presence Service Configuration Properties Configuration Property Description selected.connection Connection used by the Instant Messaging and Presence service. rtc.cache.time Cache timeout for instant messaging and presence data. The default is 60 seconds. resolve.display.name.from .user.profile Determines what to display if user display names are missing. When set to 0, and display name information is unavailable, only the user name displays in the application. When set to 1, and display name information is unavailable, display names are read from user profile data. Setting this option to 1 will impact performance. The default setting is 0. Display names are not mandatory in presence data. If the WebCenter application does not always provide display names by default and you consider this information important, set resolve.display.name.from.user.profile to 1 so that display names always display. Oracle WebCenter Custom WLST Commands 10-93

10.9.9.2 Syntax

setIMPServicePropertyappName, property, value, [server, applicationVersion]

10.9.9.3 Example

The following example changes the default cache timeout for instant messaging and presence data, in an application named webcenter. wls:weblogicserverConfigsetIMPServicePropertyappName=webcenter, property=rtc.cache.time, value=30

10.9.10 removeIMPServiceProperty