Ian (Fluxtah) Warwick's blog RSS 2.0
# Wednesday, December 16, 2009

I created a custom content type and list definition, after upgrading my sharepoint solution I could see the list and content types under the new menu but when creating a new item, the fields were missing from NewForm.aspx

I discovered that it was due to the ContentType definition not having the FieldRefs tag, my content type was defined like this:-

  <ContentType ID="0x01001376F571B0DB9D4E9384D2927DC110CF02" Name="News Article" Group="Vodafone LCD Content Types" Version="0">
  </ContentType>

When it should have been like this:-

  <ContentType ID="0x01001376F571B0DB9D4E9384D2927DC110CF02" Name="News Article" Group="Vodafone LCD Content Types" Version="0">
    <FieldRefs>
    </FieldRefs>
  </ContentType>

Wednesday, December 16, 2009 8:38:54 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Sharepoint
Comments are closed.
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Ian Warwick
Sign In
Statistics
Total Posts: 31
This Year: 2
This Month: 0
This Week: 0
Comments: 4
Themes
Pick a theme:
All Content © 2010, Ian Warwick
DasBlog theme 'Business' created by Christoph De Baene (delarou)