我有一个列表,其中包含与另一个列表中的信息密切相关的信息。我见过的最相似的例子是有人有一个客户列表的地方,然后是订单总数。我试图做的是将WebPart添加到客户列表的显示表单中,以显示其他列表中的所有客户订单(例如,在订单中的客户名称=当前项中的客户名称)。

这是否可以动态地做,而不会妨碍性能太多(其他列表中的5000个项目)?

有帮助吗?

解决方案

Yes, you can do this by SharePoint Designer.

  • Add a lookup column to the Orders list, which will refer to the Customers list
  • Open Customers list in SharePoint Designer
  • Edit Customers Display Form, from the toolbar, select Insert a "Related Item View", your Orders list should show up in the option list, choose it
  • Add/Remove columns of the Orders view

You need to put the Orders list's reference column to the Customers list as Indexed column, and other columns like "Product", "Order date" etc as index columns and sort your Orders view by those indexed columns. That will make you safe with the 5,000 records throttling.

许可以下: CC-BY-SA归因
scroll top