I'm following this article (as well as different MSDN pages) and trying to add some custom template forms to my content type.
I think I'm doing all by the book, but for some reason wont deploy my version of the content type.
Instead of my XmlDocument
I get the default one which is:
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
The Display
, Edit
and New
entries are not my own. ListForm
is the default.
My .ascx
just contains some div with text in it. Just a test. It's in the right place in the CONTROLTEMPLATES folder.
What am I missing? How can I deploy with my custom templates?