内容搜索Webpart-“更改查询" [英] Content Search Webpart - 'Change Query'
问题描述
我有一个用于发布媒体的网站.我正在使用Content Search Webpart加载所有最近的页面,但不确定要选择哪些选项.下面是构建查询的图片.
什么是正确的设置方法/方式,以便显示此站点中最新创建/修改的页面
我会说进入切换到高级模式".然后,如果内容类型与您的页面相关联,则添加具有托管属性"ContentTypeId"的查询.具有您的内容类型ID.
如果内容类型与您的页面没有关联,那么我将创建一种基本的内容类型并分配给页面.还可以在发布页面的网站上查询.您可以使用路径" /"URL"用于过滤的托管属性 基于网站.
如果您需要更多详细信息,请随时回复.
I have a site that I am using for Media releases. I am using the Content Search webpart to load all the recent pages but not sure what options to select. Below is a picture f the Build Your Query.
What is the correct option/way to set this up, so it shows the most recently created/modified pages in this site
Hi,
I would say go in "Switch to Advance Mode". Then if content type is associated with your pages , then add the query with managed property "ContentTypeId" having your content type id.
If Content type is not associated with your pages then I would create one base content type and assign to the pages. Also have the query on Site in which your pages are published. You can use "Path" / "URL" managed properties for filtering based on Site.
Please feel to reply if you need more details.
这篇关于内容搜索Webpart-“更改查询"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!