Description Syntax Example createWCPSCustomConnection

Oracle WebCenter Custom WLST Commands 10-119

10.13.3.3 Example

The following example creates a People connection in the default namespace: wls:weblogicserverConfig createWCPSPeopleConnectionname=PeopleConnection, host=myhost.com, port=8888

10.13.4 createWCPSCustomConnection

Use with WLST: Online

10.13.4.1 Description

Creates a connection of a specific type for the WebCenter Personalization service. Custom connection types are used with custom data providers and property locators.

10.13.4.2 Syntax

createWCPSCustomConnectionname, type, [namespace], [properties], [server] restResourceIndex Optional. URL path for the resourceIndex of the REST server. Defaults to restapiresourceIndex. rewriteUrls Optional. Specifies how to rewrite URLs returned from the People Connection REST service. Valid options are producer, consumer, and none. Defaults to none. For more details, see Managing WebCenter Personalization in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. pathTrim Optional. Specifies the path parts to trim from URLs returned from the People Connection service. Defaults to None. For more details, see Managing WebCenter Personalization in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. server Optional. Name of the Managed Server hosting the WebCenter Personalization service. This parameter is only required in a nondefault deployment configuration. No value is required for a default deployment where the WC_Utilities server hosts Personalization services. Argument Definition name Connection name. Must be unique for this connection type within a namespace. type Custom connection type specific to the custom data provider or property locator implementation. namespace Optional. WebCenter Personalization connection namespace for the connection. If not specified or set to none, the connection is available to all namespaces. properties Optional. Dictionary of connection properties and values. The set of properties is specific to the connection type. All values in the dictionary must be strings. Argument Definition 10-120 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.13.4.3 Example

The following example creates an Activity Graph connection in a particular namespace: wls:weblogicserverConfig createWCPSCustomConnectionname=CustomConnection, type=my.connection.type, properties={ prop1: value1, prop2, value2 }

10.13.5 listWCPSCMISConnection