gpt4 book ai didi

sharepoint-2013 - 尝试读取导航属性的值时发现具有非空值的“PrimitiveValue”节点;

转载 作者:行者123 更新时间:2023-12-04 07:16:07 24 4
gpt4 key购买 nike

如何在 SharePoint 列表中使用 REST API Post 保存文档库查找字段?
我试过

'docItem':'1;#test'

但是,它抛出一个错误:

{
"error": {
"code": "-1,Microsoft.SharePoint.Client.InvalidClientQueryException",
"message": {
"lang": "en-US",
"value": "A 'PrimitiveValue' node with non - null value was found when trying to read the value of a navigation property;however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected."
}
}
}

Bad Request

最佳答案

假设查找字段名称是 docItem,只需使用

'docItemId':1

会做的伎俩。

关于sharepoint-2013 - 尝试读取导航属性的值时发现具有非空值的“PrimitiveValue”节点;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21338761/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com