SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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'm looking to search within each list for a column. The problem is that this column is referred to differently in CAML. Look at this for a detailed explanation:

I'd like to know if there is a way to search the column name in CAML. I've been reading over here: and it seems as if you can only use or to search the values within the column itself. Is there a way of doing this using CAML?

share|improve this question
up vote 0 down vote accepted

I'm not sure that you can do it with CAML, but you should be able to use the Lists web service to get a list of all columns for a list. What's the application here?

share|improve this answer
I'm making this recursive deletion a bit more flexible. Possibly a template. Your question just made me look at what I was doing and I think I got it now. Silly me, I was using GetListItems instead of GetList. That should be all it takes. – iOnline247 Dec 6 '10 at 16:28
Roger; I wasn't sure if you were trying to do some wacky complex query or something ;-) – webdes03 Dec 6 '10 at 16:32

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.