如何使用rest api通过查阅列获取sharepoint列表项 [英] How to get sharepoint list item by lookup column using rest api

查看:103
本文介绍了如何使用rest api通过查阅列获取sharepoint列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个共享点列表,它有两个查阅列。 


示例:Column1,Column2(两种列类型都是查找)


我想获取列表项,其中Column1值=" Demo"和Column2值=" Temp"。


如何使用REST API实现此目的。



请帮助!

解决方案

您好,


以下是样本rest api供您参考( ReferA / Title表示查找字段显示值。)


/ _ api / lists / getByTitle('ChildMultiLookup')/ items?&


过滤器=((ReferA / Title eq'ParentA1')和(ReferB / Title eq'ParentB2'))





最好的问候,


Lee


Hello all,

I have one sharepoint list, which has two lookup column. 

Example: Column1, Column2 (Both Column type is Lookup)

I want to get List item where Column1 value="Demo" and Column2 value="Temp".

How can i achieve this using REST API.

Please Help!

解决方案

Hi,

Here is sample rest api for your reference(ReferA/Title means the lookup filed display value).

/_api/lists/getByTitle('ChildMultiLookup')/items?&


filter=((ReferA/Title eq 'ParentA1') and (ReferB/Title eq 'ParentB2'))


Best Regards,

Lee


这篇关于如何使用rest api通过查阅列获取sharepoint列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆