DocumentManagerCheckIn Method
Adds new version of document and commits it in document repository
Namespace: FileHold.LibraryManagerAssembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.1.0.0
[WebMethodAttribute(Description = "Adds new version of document and commits it in document repository")]
public int CheckIn(
Guid uploadToken,
DocumentManagerCheckInOptions option,
string originalFileName,
string documentName,
int metadataVersionId,
bool sendEmailToMembers
)
- uploadToken Guid
- option DocumentManagerCheckInOptions
- originalFileName String
- original name of the file
- documentName String
- metadataVersionId Int32
- id of document's metadata
- sendEmailToMembers Boolean
Int32The metadataVersionId passed as the parameter or the new metadataVersionId
1. Check whether document was changed meanwhile
2. Add new document version in database
3. Copy metadata from previous version
4. Commit file in repository