While investigating SPList multiple content types - "Column does not exist" error, I discovered something odd. Background:

  • I'm using the SharePoint Publishing feature
  • I have a custom ContentType, NewsPage, that extends ArticlePage
  • The NewsPage ContentType adds a field - NewsCategory - with a static name of "NewsCategory" and a display name of "Nyhetskategori" (swedish)
  • I have a site definition for a News site, and the NewsPage ContentType is bound to the Pages list of the News site

If I go to "Site Actions" -> "View All Site Content", open the "Pages" list/documnt library, and then go to "Library Settings" there are two sections:

Content Types - lists the "Page", "Article Page" and "News Page" types, as expected

Columns - lists all columns from all the Content Types, but they are listed with their static names, not their display names, as I've seen on other sharepoint installations. Is there any way to control this? I want to be able to iterate over the Pages list and get pageListItem["Nyhetskategori"], i.e. access the field using the display name.

  • What's language settings / variations / language packs are you using? Could it be that your custom display name isn't showing because it's not set in a resource file with the proper language identifier? This thought was triggered by your mentioning of the Swedish display name.
    – Jasper
    Commented Oct 10, 2012 at 13:47
  • I'm using the swedish language pack, and the site is configured to use Swedish as main language. I'm creating the ContentType programmatically and I'm not using resource files.
    – claesv
    Commented Oct 10, 2012 at 14:26
  • Ok. In that case I'm not sure what's going wrong. Unless someone else is going to answer I'd recommend contacting support.
    – Jasper
    Commented Oct 11, 2012 at 12:13

1 Answer 1


I had a lot of troubles getting field titles right, but this blog entry pointed me in the right direction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.