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 want to check if a custom field exists for my list using list services but not sure how I can do it, I know it can be done using object model method "ContainsField()" but how can I do same with services,

    public bool fieldExists()
        XmlDocument doc = new XmlDocument(); 
                    //field exists or not ?
share|improve this question
up vote 0 down vote accepted

Yup you can look into hash table and find key you need for that field if it exists or not. I don't remember 100% the code I used but I will try to provide it someone need it in future.

Hope it helps if someone else came across same problem :)

share|improve this answer

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.