SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's the situation: I have a site column of type Choice that is used in content types and libraries. Document libraries contain items. So the site column is currently used. I have created a custom field type and I would like to the site column to used this new custom field type.

Is it possible to change the field type of a site column through code? Maybe with spfield.schemaxml? Or will I have to create a new site column based on the new field type, move all the existing data to the new column and delete the original column?

Note that the custom field type (ParentType=Choice) was createad to have custom RenderPattern (display).

(This is for MOSS 2007)

share|improve this question

You have to create a new site column and migrate the data across.

share|improve this answer
exactly. it gets cached from here to high hell, so creating a new field is the only thing that i have got working – Anders Rask Jan 19 '11 at 8:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.