Description Syntax Example setNotificationsConfig

Oracle WebCenter Custom WLST Commands 10-109

10.10.11.3 Example

The following example creates an external application named MailxApp suitable for mail server connections. wls:weblogicserverConfig createMailExtAppConnectionappName=webcenter, name=MailxApp, displayName=Mail Ext App

10.11 Notifications

Use the commands listed in Table 10–19 to manage settings for the Notifications service in a WebCenter application. Configuration changes made using these WebCenter WLST commands are only effective after your restart the Managed Server on which the WebCenter application is deployed. For details, see Oracle Fusion Middleware Administrators Guide for Oracle WebCenter.

10.11.1 setNotificationsConfig

Module: Oracle WebCenter Use with WLST: Online

10.11.1.1 Description

Specifies the connection used for routing notifications raised in a WebCenter application. Use an existing mail server or BPEL server connection. If the WebCenter application is connected to a BPEL server, the Oracle User Messaging Service UMS is available for routing notifications through multiple messaging channels, including mail, worklists, and SMS. If you configure the Notifications service to use a BPEL server connection, you may specify a sender From address for each available messaging channel. That is, you can specify a sender mail address and an SMS address. Alternatively, you can route notification messages through a mail server. If you configure the Notifications service to use a mail server connection, the external application associated with the mail server connection must contain shared credentials. Shared credentials are required for routing application-wide notifications.

10.11.1.2 Syntax

setNotificationsConfigappName, type, name, [senderMailAddress, senderSMSAddress, server, applicationVersion] Table 10–19 Notifications WLST Commands Use this command... To... Use with WLST... setNotificationsConfig Specify the connection used for routing notifications raised in a WebCenter application. Online getNotificationsConfig Return details about the connection that is used to send notifications raised in a WebCenter application. Online Argument Definition appName Name of the WebCenter application in which to perform this operation. For WebCenter Spaces, the name is always webcenter. 10-110 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.11.1.3 Example

The following example specifies that the Notifications service use a BPEL server connection named WebCenter-Worklist and also defines the mail address and SMS address from which all notifications are sent: wls:weblogicserverConfigsetNotificationsConfigappName=webcenter, type=BPEL, name=WebCenter-Worklist, senderMailAddress=WebCenter Notificationnotificationswebcenter.com, senderSMSAddress=28734

10.11.2 getNotificationsConfig