DocumentTemplate Element (ContentType)
Published: May 2010
Specifies the document template for the content type. This is the file which SharePoint Foundation opens as a template when a user requests a new item of this content type.
<DocumentTemplate TargetName="Text" />
If Deployed in a feature, Word Ignores the Content Type When Saving
If the content type is deployed and assocated to the template in a Feature, Word 2010 will ignore the content type assocaited with this template when the documents is saved back to SharePoint. If the same operations are undertaken via the SharePoint UI. Word will preserve the associated content type when the document is saved into the Document Library.
A document created from a Content Type Foo (associated with FooTemplate.docx ) that derives from Document will be saved to the document library with a content type of Document rather than the expected Foo. IF the document template is associated to the content type using the SharePoint UI -- things work as expected.
A document created from a Content Type Foo (associated with FooTemplate.docx ) that derives from Document will be saved to the document library with a content type of Document rather than the expected Foo. IF the document template is associated to the content type using the SharePoint UI -- things work as expected.
- 4/23/2011
- GUYO