I'm working on a POC and I need to create a file using the cmis protocol of SharePoint but I don't know how to do it. I've activated the CMIS feature and I'm already able to get a fileContentStream or a simple cmis query. The problem is that I don't find information about the creation of a file using rest cmis. It seems that this service does not exist:


  • Check here. Especially for spcmis.wsp existence. Also you should use the following format: server/_vti_bin/cmis/rest/…, where %GUID% is a guid of document library (repository). – Sergey May 19 '17 at 14:45
  • I'm on SharePoint 2013 and the consumer webpart has been removed. The feature is already activated, and I'm already able to retrieve SharePoint stored document information. The problem is to create a file from the outside with a rest request to the cmis. – Erylis May 19 '17 at 18:58
  • I'm not sure that's possible. Take a look here. >**CMIS does not provide methods for creating, modifying, or deleting object-types.** Developers who want to create, modify, or delete a SharePoint Server document object-type or folder object-type can do so by using the proprietary SharePoint Server object model. If you check output, e,g, server/_vti_bin/cmis/rest/GUID?getRepositoryInfo you'll find that there are no "createDocument" entries. – Sergey May 19 '17 at 21:45
  • 1
    I am sure this is doable (for example my tool CmisSync can create documents using CMIS REST). To know the URL syntax, connect to your server using CMIS Workbench, and create a document via the user interface while listening to netowrk traffic using Wireshark. – Nicolas Raoul May 20 '17 at 0:59
  • Is there something to configure to use CMIS Workbench? I've tried to connect but it always say that my credential are not good. – Erylis May 20 '17 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.