Tag Info

New answers tagged


PARTIAL ANSWER I found a possible explaination at this link, both the two parts of the article are meaningful. And as stated in the post, this post may give further help about the issue. BTW is not related to DIP nor to Office versione nor to document format (I tried both docx and dotx). It is indeed related to how the content type document template is ...


The example demonstrates how to specify list item properties (Content Type in this case) while uploading the file: var targetList = context.Web.Lists.GetByTitle(listTitle); var fileInfo = new FileCreationInformation() { Content = fileContent, Overwrite = true, Url = fileUrl }; var uploadFile = ...

Top 50 recent answers are included