Description Syntax Example setJCRFileSystemConnection

Oracle WebCenter Custom WLST Commands 10-45

10.6.7.3 Example

The following example creates a connection to a file system repository. wls:weblogicserverConfig createJCRFileSystemConnectionappName=webcenter, name=FSAConnection, path=C:ProjectDocuments

10.6.8 setJCRFileSystemConnection

Module: Oracle WebCenter Use with WLST: Online

10.6.8.1 Description

Edits an existing file system repository connection. This command requires that you specify values for either the path or isPrimary arguments.

10.6.8.2 Syntax

setJCRFileSystemConnectionappName, name, [path, isPrimary, server, applicationVersion] Argument Definition appName Name of the WebCenter application in which to perform this operation. name Connection name. The name must be unique across all connection types within the WebCenter application. path Full path to a folder whose contents you want to expose through this file system connection. For example, if you have a folder called C:\ProjectDocuments and you want to use that folder with the Documents service, you need to specify this folder as the path argument to this command. isPrimary Optional. Valid values are 1 true and 0 false. 1 specifies that this connection is the primary connection used by the Documents service. When set to 0, and when the specified connection is the primary connection used by the Documents service, the primary connection is reset. If this parameter is not set, the primary connection used by the Documents service does not change. This argument has no default. In WebCenter Spaces, the primary connection must be an Oracle Content Server 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. Note: File system connections must not be used in production or enterprise application deployments. This feature is provided for development purposes only. Argument Definition appName Application name in which to set Document service properties. 10-46 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.6.8.3 Example

The following example edits connection details for a file system repository. wls:weblogicserverConfig setJCRFileSystemConnectionappName=webcenter, name=FSAConnection, path=C:ProjectDocuments

10.6.9 listJCRFileSystemConnections