Inserts a new document into the given parent document folder.
null
. IDocument
instance containing meta-data properties for the new document. This object may be obtained by calling CreateNewDocument
. Cannot be null
. null
. Stream
from which the contents of the new document will be read. Cannot be null
. en
for english. Specifying a null
language will set the language to that of the current user. IDocument
object, and will instead use the same security as the parent folder. The newly created IDocument
instance.
documentProperties
parameter.
report.doc
and this name already exists it will be changed to report_1.doc
(or report_2.doc
if report_1.doc
also already exists). The name of the returned IDocument
can be checked to see if it differs from the name requested in the document
parameter. Note: To use any document upload/download functionality, including using this method, you must install WSE 2.0 (http://msdn.microsoft.com/webservices/building/wse/). Exception Type | Condition |
---|---|
PermissionDeniedException | The user does not have permission to insert a document into the given folder. |
CollaborationException | The method call resulted in an error. |
SoapException | There is a communication problem during the execution of the remote method call. |
InvalidOperationException | The parent folder has not yet been inserted, has already been removed, or the new document is not new. |
IDocumentManager Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace