I use SP web-services to fetch list items (rows).
I want to be able to load all available fields for the list and pick some of them to be returned for each list item.
So I use Lists.asmx#GetList to fetch all Fields, pick StaticName from it, and send it to Lists.asmx#GetListItems in <ViewFields>.
Why some fields displayed in GetList doesn't return by GetListItems? (For example 'ContentTypeID' returns well, but '_HasCopyDestination' doesn't).
|
|
|||
|
|
|
I've had so many issues with what fields do or don't get returned from that method I pretty much just accept it will be broken. Some more info here What does the GetListItems query option IncludeMandatoryColumns do? Some examples from a Document library:
Title field: You can try filtering out some of the fields that use A blacklist would probably work but make sure it is configurable so you can add new ones you find later. :) |
|||
|