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

I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code). How can I set te column order in the contenttype that the new lookup column is placed between the other columns? If possible with c# code...

share|improve this question
up vote 3 down vote accepted

I know that the fields order is from schema.xml

To chenge the order the key is :



share|improve this answer

here i updated with powershell script.

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – John Chapman Jul 3 '13 at 21:36

Your Answer


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

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