Share via


GrooveFilesBase64.Create Operation

Applies to: SharePoint Workspace 2010 | Visual Studio 2008

In this article
HTTP Post URL
Input Message Header
Input Message Parameters
Output Message Header
Return Value

The Create operation creates a file or folder.

HTTP Post URL

The HTTP Post URL targets the Files tool. This URI is provided by the GrooveTools.Read operation in the ToolData element.

Input Message Header

GrooveRequestHeader specifies information common to all Groove Web Services, including the Groove Identity URL and the Groove Request key.

Input Message Parameters

<FileDescriptor />
<FileContents />

Element

Data type

Description

FileDescriptor

FileDescriptor

Specifies the name, display name, and type of the file or folder and the folder that the file or folder should be created in.

FileContents

xs:base64Binary

Specifies the file contents in base64 binary encoding.

Output Message Header

GrooveResponseHeader specifies the Response key.

Return Value

<CreateResult />

Element

Data type

Description

CreateResult

xs:anyURI

URI that allows access to the newly created file or folder.

Remarks

When creating files, the FileDescriptorName determines the file extension, such as .TXT or .HTML, but the DisplayName determines the file name. If you are creating a folder, FileDescriptor also specifies the values of AutoDownload and DownloadSizeLimit.

If the FileDescriptor specifies a Type of "Folder", then the FileContents element is ignored. Although the FileContents element is ignored when you are creating a folder, it is a required element in the WSDL definition. Consequently, the proxy code requires it and you must specify a non null value.

See Also

Reference

GrooveFilesBase64 Web Service

Concepts

Creating, Updating, and Deleting Files