Description Syntax Example setDiscussionForumConnectionProperty

Oracle WebCenter Custom WLST Commands 10-59

10.7.2.3 Example

The following example updates attributes for a secure discussions server connection named MyDiscussionsServer. wls:weblogicserverConfig setDiscussionForumConnectionappName=webcenter, name=MyDiscussionServer, url=http:myhost.com:7786owc_discussions, adminUser=admin, policyURIForAuthAccess=oraclewss10_saml_token_client_policy, default=1

10.7.3 setDiscussionForumConnectionProperty

Module: Oracle WebCenter Use with WLST: Online

10.7.3.1 Description

Sets a discussions server connection property. Use this command when additional parameters are required to connect to your discussions server. This commands provides an extensible way to add any connection property using a key and a value. You are not limited to connection properties specified by createDiscussionForumConnection and setDiscussionForumConnection . All known, additional connection properties are listed in Table 10–9, Additional Discussion Connection Properties .

10.7.3.2 Syntax

setDiscussionForumConnectionPropertyappName, name, key, value, [secure, server, applicationVersion] Note: Do not use the setDiscussionForumConnectionProperty to set connection properties available through createDiscussionForumConnection or setDiscussionForumConnection . Attempting to do so, has no effect. Table 10–9 Additional Discussion Connection Properties Additional Connection Property Description application.root.ca tegory.id WebCenter Spaces only Application root category ID on the discussions server under which all discussion forums are stored. For example, if set to 3, then all forums are stored inside the category 3. Argument Definition appName Name of the WebCenter application in which to perform this operation. name Name of an existing discussions server connection. key Name of the connection property. value Value for the property. Allows any property to be modified on the connection with a key and value. 10-60 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.7.3.3 Example

The following example configures the location of the keystore certificate for a discussions server connection named MyDiscussionServer. wls:weblogicserverConfig setDiscussionForumConnectionProperty appName=webcenter, name=MyDiscussionServer, key=application.root.category.id, value=3 The following example adds a custom discussions server connection property called myProperty1 with a value propertyValue1. wls:weblogicserverConfig setDiscussionForumConnectionProperty appName=webcenter, name=MyDiscussionServer, key=myProperty1, value=propertyValue1 The following example adds a secured discussions server connection property called securedProperty with the value secureValue. wls:weblogicserverConfig setDiscussionForumConnectionProperty appName=webcenter, name=MyDiscussionServer, key=securedProperty, value=secureValue, secure=1

10.7.4 deleteDiscussionForumConnectionProperty