List instance derived from element instead of my own content type

dersresissan

New Member
I defined some columns and a content type referring to that columns in my Sharepoint Sandboxed Solution. When I deploy it, both columns and the content type are available correctly in Sharepoint.Now I added a list definition and -instance as well and refer to that content type:\[code\]<List xmlns:ows="Microsoft SharePoint" ... EnableContentTypes="TRUE"> <MetaData> <ContentTypes> <ContentTypeRef ID="0x01005b82f08d609b40709cdaecf84c0cdb83"></ContentTypeRef>\[/code\]When I deploy that and have a look at the list settings there is a) management of content types not enabled but I declared that in my xml and b) if I enable content types it says that the list is using the element content type and not my own content type.The result of that behaviour is that the new/edit/display form is not showing the fields from my content type.What am I missing? If someone needs more code please let me know what.
 
Back
Top