如何检索一个列表下拉值并将其分配到另一个列表中,Sharepoint在线 [英] how to retrieve one list dropdown values and assign them in another list Sharepoint online

查看:73
本文介绍了如何检索一个列表下拉值并将其分配到另一个列表中,Sharepoint在线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够检索所有列表项值,并能够使用Rest api(大约10列)将它们分配给另一个列表

I'm able to retrieve all the list item values and able to assign them to another list using Rest api (there are about 10 columns)

但是,每当我在Rest api调用中添加下拉列名称时,就无法使用相同的方法检索级联下拉列表.

but form the cascade drop down unable to retrieve with the same method, whenever I add the dropdown column names in the Rest api call none of the code is working.

任何人都可以帮助我如何使用Rest Api检索并将它们分配给另一个列表. (如果需要更多信息,请问我)

can anyone help how should I retrieve and assign them to another list with Rest Api. (ask me if u need more info)

谢谢.

推荐答案

您可以使用以下REST API:

/_api/web/lists/GetByTitle('List Name')/fields?


filter = EntityPropertyName eq'选择字段名称'
filter=EntityPropertyName eq 'Choice Field Name'



查看下面的线程以了解更多详细信息:

https://social.technet. microsoft.com/Forums/ie/zh-CN/18defe52-d211-4720-993b-5e6197457e20/how-to-get-choice-fields-values-using-rest-api-or-jsom?forum=sharepointdevelopment

最好的问候,

Linda(张)


这篇关于如何检索一个列表下拉值并将其分配到另一个列表中,Sharepoint在线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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