Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint REST字段属性不存在_Rest_Sharepoint_Postman - Fatal编程技术网

Sharepoint REST字段属性不存在

Sharepoint REST字段属性不存在,rest,sharepoint,postman,Rest,Sharepoint,Postman,我正在使用Postman for Chrome测试Sharepoints REST Api的一些简单功能 嗯-我在开始尝试从列表检索某些字段时出错-以下是一些图片: SharePoint列表: 呼叫CPU 调用RAM-失败: (EXmsg:字段属性“RAM”不存在) 有人有线索吗?我完全不明白这一点 提前谢谢 附言 打电话时: /_api/web/lists/getbytitle('Anwendungen')/items RAM将显示为“zzfu”-dafuq?的属性。此错误发生的原因是

我正在使用Postman for Chrome测试Sharepoints REST Api的一些简单功能

嗯-我在开始尝试从列表检索某些字段时出错-以下是一些图片:

SharePoint列表:

呼叫CPU

调用RAM-失败:

(EXmsg:字段属性“RAM”不存在)

有人有线索吗?我完全不明白这一点

提前谢谢

附言

打电话时:

/_api/web/lists/getbytitle('Anwendungen')/items

RAM将显示为“zzfu”-dafuq?的属性。

此错误发生的原因是
$select
查询选项接受字段内部名称,但不接受显示名称

话虽如此,您可能需要首先确定字段内部名称,例如:

/_api/web/lists/GetByTitle('Anwendungen')/fields?$select=InternalName&$filter=Title eq 'RAM'
确定字段内部后,可以按如下方式查询字段值:

/_api/web/lists/GetByTitle('Anwendungen')/items?$select=<RAM internal name>
/\u api/web/list/GetByTitle('Anwendungen')/items?$select=

其中
是RAM字段的内部名称。

尝试使用内部名称。首先使用/_api/web/lists/getbytitle('xxx')/fields获取列表的所有字段,并查看RAM字段的内部名称。