Hello all,
recently, I tried to create a content type with a custom document template. So, in my solution, I added a cv.dotx file in the path LAYOUTS\AreaProg and then change the DocumentTemplate property of the content type (using the object model to do so).
The creation of the content type is correct. No problem and the DocumentTemplate property is set on /_layouts/15/AreaProg/Cv.dotx. If I access the file http://url/_layouts/15/AreaProg/Cv.dotx, IE proposes me to download the file, so the file exists and is accessible.
I added the content type to a document library and I tried to create a new file based on this document template. Then I got an error: "sorry, we could not open http://url/_layouts/15/AreaProg/Cv.dotx". When I click OK, I have a second message box saying that the file might have been renamed, moved or deleted...
Sounds like a bug of SharePoint 2013. Maybe related to the new Virtual Directory /_layouts/15. Am I the only one in this situation ?
If not, what is the site to declare bug again ? I cannot remember it and I'd like to have the opinion of Microsoft on this case because I don't understand why Word cannot open an existing file.
I precise that I'm running SP13 preview on Win 2012 with a stand alone installation.
Kind regards