我怎样才能获得查找价值 [英] How can i get lookup value
问题描述
Hello Experts,
我有一个List" Demo"它有一列"BatchNameLookup"批处理列表的查找列类型。
目前我 可以从"演示"中获取数据列表以及BatchNameLookup。这些工作正常。但是我的"批次" List还有一个Lookup Column"Venue"。 (查找另一个列表的列)。
我可以使用"BatchNameLookup"获取Venue查找列值吗?来自"Demo"的列。列表?
如果否,那么我可以获得场地价值。
请帮助!
您可以使用rest api获取查阅列ID,然后获取父列表项基于ID。
/ _ api / lists / getbytitle('MainList')/ items(ID)?
select = Title,LookupField / Id,LookupField / Title,LookupField / CustomField&
expand = LookupField
使用SharePoint rest api获取数据,这里有两个线程供您参考。
< p style =""> https://www.c-sharpcorner.com/ article / sharepoint-2013-restful-service /
最好的问候,
利跨度>
Hello Experts,
I have one List "Demo" which has one column "BatchNameLookup" type of lookup column of Batch List.
Currently I can fatch Data from "Demo" List along with BatchNameLookup. these working fine. but my "Batch" List also has one Lookup Column "Venue" (Lookup Column of Another List).
Can I get Venue Lookup Column Value Using "BatchNameLookup" Column from "Demo" List?
If No, then i can i get Venue Value.
Please Help!
Hi,
You could use rest api to get lookup column ID, then get parent list item based on the ID.
/_api/lists/getbytitle('MainList')/items(ID)?
select=Title,LookupField/Id,LookupField/Title,LookupField/CustomField&
expand=LookupFieldUsing SharePoint rest api to get data, here are two threads for your reference.
https://www.c-sharpcorner.com/article/crud-operation-on-list-items-using-rest-api-services-in-shar/
https://www.c-sharpcorner.com/article/sharepoint-2013-restful-service/
Best Regards,
Lee
这篇关于我怎样才能获得查找价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!