开发者

When I execute a CAML Query in an event list handler, I don't get all the list fields

When I execute a CAML Query in a list event handler, the query开发者_如何学Go executes against the current view for the list. I have certain fields that I need to query regardless of the view - how do I get the "allitems" view or equivalent for the actual list.


Look for SPList.DefaultView

There you can get the ViewFields property and see what fields are being returned.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜