跨多个站点库创建单个视图 [英] Create a single view across multiple site libraries

查看:72
本文介绍了跨多个站点库创建单个视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在多个站点库中创建一个单独的视图。我有几个团队站点库,用于创建项目信息,它存储在自己的团队站点上,并带有相关元数据,元数据在所有站点中都是通用的。我想使用过滤器,例如,使用来自所有团队网站的信息,创建
视图。通过使用项目名称或团队名称,然后显示所有元数据,而不仅仅是文档名称或标题。



任何人都可以帮助... ..please ???

解决方案


我们可以创建一个可视化的Web部件并使用带有 SPSiteDataQuery 的CAML查询来检索多个列表中的列表项。以下文章供您参考:


在SharePoint 2010中创建Visual Web部件


https://docs.microsoft.com/en-us/previous-versions /office/developer/sharepoint-2010/ff597539(v%3Doffice.14


SharePoint 2010中SPSiteDataQuery的Webs属性


https:// www。 c-sharpcorner.com/uploadfile/anavijai/webs-property-for-spsitedataquery-in-sharepoint-2010/


SPSiteDataQuery类


https:// docs .microsoft.com / zh-CN / dotnet / api / microsoft.sharepoint.spsitedataquery?view = sharepoint-server


最好的问候,


DENN是


I would like to create a single view across multiple site libraries. I have several team site libraries that create project information, it is stored on their own team site with the relevant metadata, the metadata is common across all sites. I want to create a view, using information from all team sites, using a filter, e.g. by using project name or team name, then display all the metadata not just document name or title.

Can anybody help with this.....please???

解决方案

Hi,

We can create a visual web part and use CAML query with the SPSiteDataQuery to retrieve list items across multiple lists. The following articles for your reference:

Create Visual Web Parts in SharePoint 2010

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ff597539(v%3Doffice.14)

Webs property for SPSiteDataQuery in SharePoint 2010

https://www.c-sharpcorner.com/uploadfile/anavijai/webs-property-for-spsitedataquery-in-sharepoint-2010/

SPSiteDataQuery Class

https://docs.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.spsitedataquery?view=sharepoint-server

Best Regards,

Dennis


这篇关于跨多个站点库创建单个视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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