CAML to search column name
-
16-10-2019 - |
Question
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: 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?
Solution
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?
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange