Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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: http://www.sharepointoverflow.com/questions/787/finding-the-internal-name-and-display-name-for-a-list-column

I'd like to know if there is a way to search the column name in CAML. I've been reading over here: http://msdn.microsoft.com/en-us/library/ms467521.aspx 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.