Click or drag to resize
EasyFileUploadExtensionsBaseEasyUploadDocument Method (DialogInfo, IFileUploadInfo, Document)
Uploads array of files as new document via a store dialog.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
[GeckoAttribute]
public static Document EasyUploadDocument(
	DialogInfo dialogInfo,
	IFileUploadInfo[] files,
	Document documentMetaData
)

Parameters

dialogInfo
Type: DocuWare.Platform.ServerClientDialogInfo
The store dialog.
files
Type: DocuWare.Services.Http.ClientIFileUploadInfo
The array of files.
documentMetaData
Type: DocuWare.Platform.ServerClientDocument
The document meta data. Currently only the fields are used.

Return Value

Type: Document
The uploaded document's metadata.
Remarks
The document is uploaded as optimal as possible. That is, if the document is small enough it is uploaded with a single request. If the file is large, the upload is done chunkwise.
See Also