New answers tagged document-template
Finally I was able to create OneNote documents without issues using Sharepoint 2010 workflows instead of Sharepoint 2013 Workflows. The error only occurs when a SP2013 WF creates a document with custom content type and the associated template. The same functionality (the 'Create Item' command to be precisely) works in SP2010 Workflows.
Maybe this will help? #Upload new document template file from computer $newTemplateFile = Get-ChildItem "C:\LocalPath\Test Document.dotx" $templateFolderPath = $web.Url + "/" + $list.RootFolder.Url + "/Forms" $templateFolder = $web.GetFolder($templateFolderPath) $uploadPath = $templateFolder.Url + "/" + $newTemplateFile.Name $spNewTemplateFile = ...
Top 50 recent answers are included