我正在使用MS Graph获取SharePoint (在线)列表项。
这是我的代码:
var queryOptions = new List<QueryOption>()
{
new QueryOption("expand", "fields(select=CRItemIDNintex, CRChangeTitle, CRCategory, CRTechnicalArea, CRStatus)"),
new QueryOption("filter", "startswith(fields/CRStatus, '60') or startswith(fields/CRStatus, '70')")
};
var resultListsItems = await graphServiceClient.Sites[siteId]
.Lists[listId]
.Items
.Request(queryOptions)
.GetAsync();问题是我没有得到任何"CRTechnicalArea“的值。这是结果中的示例:

如你所见,这里没有"CRTechnicalArea“。
这怎么可能呢?
谢谢你,Matjaz
发布于 2021-05-17 14:35:59
我做了一个改变,现在我得到了我需要的所有数据。
var resultListsItems = await graphServiceClient.Sites[siteId]
.Lists[listId]
.Items[id]
.Request(queryOptions)
.GetAsync();https://stackoverflow.com/questions/67502484
复制相似问题