使用父站点中的内容查询WebPart从子站点到父站点显示内容 [英] Displaying Content from subsite to parent site using content query webpart in parent site

查看:68
本文介绍了使用父站点中的内容查询WebPart从子站点到父站点显示内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将子站点中的内容(图像/视频/新闻订阅源等)显示到父站点中.为此,我在父站点中使用了内容查询Web部件.

I need to display the contents(images/videos/news feed etc) from the subsite into the parent site.For that, I have used content query web part in the parent site.

在查询部分中,我选择了<

In the query section I have selected "Show items from the following site and all subsites:" and selected the particular subsite and click on Apply and Ok button.

但是我正在收到消息"该查询未返回任何项目.为该Web部件配置查询"

But I am getting the message "This query has returned no items. To configure the query for this Web Part"

还有什么可以做的,以便于该子网站内容将显示在父站点中.?

推荐答案

在CQWP属性窗口上,是否选择了列表类型"? ? ,默认情况下,它显示在页面库"中.根据您的媒体类型库进行更改.

On the CQWP property window, Have you select the "List Type" ? , by default it shows from the Pages Library. Change it as per your media type library. 

如果您在列表/库中使用了任何内容类型来存储视频文件,则也请选择相关的内容类型.

If you used any content type on the list/library to store your video files, then select relevant content type too.

请检查此链接以获取有关CQWP上列表类型"和内容类型"设置的更多信息

Please check this link for more information on the List type and content type setting on CQWP

http://www.c-sharpcorner.com/UploadFile/Roji.Joy/working-with-content-query-web-part-in-sharepoint-2010/


这篇关于使用父站点中的内容查询WebPart从子站点到父站点显示内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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