从两个子网站到一个站点的链接列表 [英] Link List from two Subsites to one Site
问题描述
您好,
我是一个Sharepoint网站,有2个子网站。它们都有相同的清单。 "LIST A"具有相同的字段。
I´ve a Sharepoint Site, with 2 subsites. They all have the same list. "LIST A" with same fields .
示例:
网站。
列表A
项目价格
子站点1.
列表A
ITEM PRICE
ITEM PRICE
CAR 50.000
CAR 50.000
BIKE 1000
BIKE 1000
子网站2
列表A
项目价格
计算机 5000
COMPUTER 5000
电视             100
TV 100
我希望能够在网站列表A中显示,从子网站1和2加入LIST A的结果
I want to be able to show in LIST A of Site , the result of joining LIST A from Subsite 1 and 2
也就是说,我想要:
网站
列表A
ITEM PRICE
ITEM PRICE
CAR 50.000
CAR 50.000
BIKE 1000
BIKE 1000
电脑 5000
COMPUTER 5000
电视             100
TV 100
我希望如果网站上有人编辑了列表中的某个项目,则会更新子网站列表。
I want that if someone from Site edits one of the items of the list, the list of the subsites is updated.
我知道也许使用Microsoft Flow,我可以做到,但我更喜欢基于查询的另一种解决方案。
I know that maybe with Microsoft Flow, I could do it, but I prefer another solution based in queries.
问候。
推荐答案
最佳解决方案是使用内容汇总下的内容查询Web部件显示子网站的列表项。
The best solution is to showcase the list items from subsite using Content Query web part under Content Roll up.
https:// blog .devoworx.net / 2017/11/06 / show-list-from-parent-site-in-sub-site-sharepoint-2016 /
https://blog.devoworx.net/2017/11/06/show-list-from-parent-site-in-sub-site-sharepoint-2016/
当用户编辑时,相应的项目将直接在子网站中更新。
When a user edits, the corresponding item will be updated in the subsite directly.
这篇关于从两个子网站到一个站点的链接列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!