I would like to add a couple of custom content type documents to a library that has managed content types enabled via 2013 CSOM. Most of the documentation I have seen shows how to upload documents to a library but I am attempting to create "blank" instances of these content types. I would like to essentially mimic the same actions that happen when I click the down arrow under the "New Document" button and add a new document of the specified content type.
Am I supposed to simple point the byte stream at the content type template address and "upload" it that way? How will the library know what content type I am uploading?
ContentStream
property? – wjervis Sep 18 '15 at 19:15