DocumentManagerAddDocument Method
Adds document to library manager and commits it in document repository. This method is obsolete; AddDocumentInfo() should be used instead.
Namespace: FileHold.LibraryManagerAssembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.1.0.0
[WebMethodAttribute(Description = "Adds document to library manager and commits it in document repository. This method is obsolete; AddDocumentInfo() should be used instead.")]
[XmlIncludeAttribute(typeof(int[]))]
public int AddDocument(
int folderId,
int documentSchemaId,
string documentName,
FieldWithValue[] fieldsWithValues,
Guid uploadToken,
string originalFileName,
Guid snapshotId,
bool sendEmailToMembers,
string documentNumber,
string versionNumber
)
- folderId Int32
-
- documentSchemaId Int32
-
- documentName String
-
- fieldsWithValues FieldWithValue
-
- uploadToken Guid
-
- originalFileName String
-
- snapshotId Guid
-
- sendEmailToMembers Boolean
-
- documentNumber String
-
- versionNumber String
-
Int32
1. Check whether document schema was changed
2. Add document to library manager
a) add system properties
b) add properties specific for particular schema
3. commit file in document repository
This method is obsolete; AddDocumentInfo() should be used instead.