Mail Content Sent as Attachments

18-4 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter

18.1.2 Setting Subscription Defaults

To set defaults for application-level Subscription preferences: 1. Navigate to a directory with a path that contains oraclewebcenternotification, and create the folder custom.

2. In the custom folder, or in any subdirectory under

oraclewebcenternotificationcustom, create the file notification-service-settings.xml.

3. In the XML file, enter values for all application-level subscription options.

Example 18–1 provides sample content for an application-wide subscription preferences setting file and an example of each required option. Example 18–1 Sample Subscriptions Settings XML File notification-service_settings xmlns=http:xmlns.oracle.comwebcenternotification subscription-settings service id=oracle.webcenter.peopleconnections.connections subscription-enabled=true end-user-configurable=false service id=oracle.webcenter.peopleconnections.wall subscription-enabled=false end-user-configurable=true service id=oracle.webcenter.peopleconnections.kudos subscription-enabled=false end-user-configurable=true service id=oracle.webcenter.community subscription-enabled=true end-user-configurable=true subscription-settings notification-service_settings Table 18–2 Application-Level Activities that Can Trigger Notifications Activity Related Service ID A user sends you an invitation to connect oracle.webcenter.peopleconnections.connections Your Space role changes, for example, from participant to moderator oracle.webcenter.community You are added as a member of a Space oracle.webcenter.community Your Space membership is removed oracle.webcenter.community A user posts a message to your Message Board oracle.webcenter.peopleconnections.wall A user likes your post on another user’s Message Board oracle.webcenter.peopleconnections.wall A user comments on your post on another user’s Message Board oracle.webcenter.peopleconnections.wall A user posts feedback for you oracle.webcenter.peopleconnections.kudos Tip: The directory structure can start or end with any directory or directories, as long as it has oraclewebcenternotificationcustom in the path. Note: If an option is not provided, the default values falsefalse are assigned for the service. Managing Subscriptions and Notifications 18-5 4. Run the WLST command importMetadata, and import the directory content into your metadata store. For example: wls: wc_domainserverConfig importMetadataapplication=’webcenter’, server=’serverName’, fromLocation=’directoryPath’, docs=’’ Where: ■ application is the name that identifies your WebCenter Spaces application ■ serverName is the name of the server on which the WebCenter Spaces application is running ■ directoryPath is the directory path under which oraclewebcenternotificationcustomany_sub_dir_after_th isnotification-service-settings.xml is located. For example, if the directory path to notification-service-settings.xml is scratchmydiroraclewebcenternotificationcustom, enter scratchmydir for directoryPath. ■ docs identifies the content to be imported, in this example, the path and files that fall under directoryPath. Table 18–3 describes the effect of various combinations of settings for the service ID oracle.webcenter.peopleconnections.connections. See Also: For information about running WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands. For information about the importMetadata command and other WLST commands, see the section, importMetadata, in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. Table 18–3 Effects of Subscription Configurations for Connections subscription-enabled end-user-configurable Effect true true ■ The subscribing user receives a notification message when another user sends the user an invitation to connect. ■ The user can change this default. true false ■ The subscribing user receives a notification message when another user sends the user an invitation to connect. ■ The user cannot change this default. 1 1 This is the out-of-the-box default false true ■ The subscribing user does not receive a notification message when another user sends the user an invitation to connect. ■ The user can change this default. false false ■ The subscribing user does not receive a notification message when another user sends the user an invitation to connect. ■ The option for changing this default is hidden. 18-6 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter Table 18–4 describes the effect of various combinations of settings for the service ID oracle.webcenter.peopleconnections.wall. Table 18–5 describes the effect of various combinations of settings for the service ID oracle.webcenter.peopleconnections.kudos. Table 18–6 describes the effect of various combinations of settings for the service ID oracle.webcenter.community. Table 18–4 Effects of Subscription Configurations for Message Board subscription-enabled end-user-configurable Effect true true ■ The subscribing user receives a notification message when another user posts a message on the user’s Message board, likes the user’s Message Board post, or comments on the user’s Message Board post. ■ The user can change this default. true false ■ The subscribing user receives a notification message when another user posts a message on the user’s Message board, likes the user’s Message Board post, or comments on the user’s Message Board post. ■ The user cannot change this default. false true ■ The subscribing user does not receive a notification message when another user posts a message on the user’s Message board, likes the user’s Message Board post, or comments on the user’s Message Board post. ■ The user can change this default. false false ■ The subscribing user does not receive a notification message when another user posts a message on the user’s Message board, likes the user’s Message Board post, or comments on the user’s Message Board post. ■ The option for changing this default is hidden. Table 18–5 Effect of Subscription Configurations for Feedback subscription-enabled end-user-configurable Effect true true ■ The subscribing user receives a notification message when another user leaves feedback for the user. ■ The user can change this default. true false ■ The subscribing user receives a notification message when another user leaves feedback for the user. ■ The user cannot change this default. false true ■ The subscribing user does not receive a notification message when another user leaves feedback for the user. ■ The user can change this default. false false ■ The subscribing user does not receive a notification message when another user leaves feedback for the user. ■ The option for changing this default is hidden.