Hello,
I need to upload documents to Content Server using DcoumentManagement.svc
I am doing this by making an attachment and using CreateDocument Method:
node = OTDocManService.CreateDocument(ref fDocsAuthentication, parentID, attachment.FileName, string.Empty, true, null, attachment);
I have a parameter which is named advanceVersionControl.
If I set this to true, it creates a minor Version of the fresh uploaded Document.
Is there any possibily to create a major Version instead of a minor one at the beginning?
(I know later you can use AddMajorVersion)
Furthermore, if I choose not to allow versioning, is there any chance to override a document (upload a document with same name and replace existing)?
Thanks in advance,
Alex