使用父站点中的内容查询WebPart从子站点到父站点显示内容

编程入门 行业动态 更新时间:2024-10-22 07:24:16
本文介绍了使用父站点中的内容查询WebPart从子站点到父站点显示内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I need to displaythe 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 amgetting 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

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

更多推荐

使用父站点中的内容查询WebPart从子站点到父站点显示内容

本文发布于:2023-11-28 13:12:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642552.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:站点   内容   从子   WebPart

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!