且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从与第二个列表中的数据相关联的第三个列表中获取数据以显示在主列表中

更新时间:2023-02-06 20:21:00

根据您的要求,您可以使用级联下拉列表对InfoPath进行此操作.

或者,您可以使用JavaScript代码来做到这一点.

有一个有关级联下拉列表的博客,您可以参考它:

https://parallelmindsblog.com/2012/12/17/cascading-drop-down-list-in-sharepoint-2010/

谢谢

Wendy


I have three lists: Vendor, Course and Session.  Vendors deliver courses in multiple sessions throughout the year.  Using Sharepoint 2013, I am using lookup fields to associate the Vendor to a course and then a course to one or more sessions.

In the Session list, however, I am entering the Vendor's Company Name manually.  I want to figure out how in the Session List View, Display form and Edit Form (optional) I can get the Vendor's Company Name to auto-populate after I select the Course Title with the lookup control.  This could even be populated only after saving the form. See the diagram below:

My constraints include that I am not a SP administrator and don't have SharePoint Designer Access.  My toolset is pretty limited to forms created in InfoPath and/or Nintex. 

Thanks

Hi,

For your requirement, you can use cascading drop-down lists to do that with InfoPath.

Or, you can use JavaScript code to do that.

There is a blog about cascading drop-down list, you can refer to it:

https://parallelmindsblog.com/2012/12/17/cascading-drop-down-list-in-sharepoint-2010/

Thanks,

Wendy