Let's say I have a string array of field internal names. How do I get their display names?
I've been searching for an answer and found that there is a SPFieldCollection(SPWeb web, string strXml) constructor. My first thought - yeehaw, i can pass a CAMLquery and get SPFieldCollection objects to work with.
However for strXml I've tried passing following CAML query:
<FieldRef's> (<FieldRef Name='Abc'><FieldRef....)
<ViewFields><FieldRef's></ViewFields>
<Fields><FieldRef's></Fields>
but unlucky. No results.
Any ideas on how to do this?