Setting Connection Properties for the WebCenter Spaces Content Repository Using WLST

Managing Content Repositories 11-51 Figure 11–17 Data Source Settings Section

11.12 Changing the Maximum File Upload Size

By default, the maximum upload size for files is: ■ 2 MB for WebCenter Portal applications. This default is imposed by Apache MyFaces Trinidad, which handles uploading files from a browser to the application server. WebCenter application developers can customize the maximum file upload size at design time by setting the UPLOAD_MAX_DISK_SPACE parameter in the web.xml file. For more information, see Setting Parameters to Upload Files to Content Repositories in the Oracle Fusion Middleware Developers Guide for Oracle WebCenter. If you want to change the maximum upload file size postdeployment, you must edit the web.xml file. For details, see Section A.1.2.2, Editing web.xml Properties for WebCenter Portal Applications. ■ 2 MB for WebCenter Spaces applications. System administrators can customize the maximum file upload size by editing the uploadedFileMaxDiskSpace parameter in the webcenter-config.xml file. For details, see Section A.1.3, webcenter-config.xml.

11.13 Managing Microsoft SharePoint Connections Using WLST

Use the commands listed in Table 11–10 to manage connections to SharePoint content repositories, postdeployment. 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 Section 8.2, Starting and Stopping Managed Servers for WebCenter Application Deployments. 11-52 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter For information about how to install WLST scripts for Microsoft SharePoint, see Section 11.3.1.3, Installing WLST Command Scripts for Managing Microsoft SharePoint Connections.

11.13.1 createJCRSharePointConnection

Module: Oracle WebCenter Use with WLST: Online

11.13.1.1 Description

Creates a connection to a Microsoft SharePoint 2007 repository.

11.13.1.2 Syntax

createJCRSharePointConnectionappName, name, url, [likeLimit, extAppId, timeout, isPrimary, server, applicationVersion] Table 11–10 SharePoint Content Repository WLST Commands Use this command... To... Use with WLST... createJCRSharePointCon nection Create a Microsoft SharePoint 2007 repository connection. Online setJCRSharePointConnec tion Edit a Microsoft SharePoint 2007 repository connection. Online listJCRSharePointConne ctions List all Microsoft SharePoint 2007 connections that are configured for a WebCenter application. Online Note: For WebCenter Portal applications, the createJCRSharePointConnection command works only if the application was developed to support Microsoft SharePoint connections in the first place. If the original WebCenter Portal application deployment does not include a Microsoft SharePoint connection, then the application will not contain the code necessary to support any new Microsoft SharePoint connections that you may want to create using this command. See also, Section 11.3.2, Microsoft SharePoint - Configuration. 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. url Web address of the SharePoint site to which you want to connect. For example, if the SharePoint site address is http:mysharepoint.mycompany.com, enter this value for the url argument.