如何在sharepoint2013 / online中为CSWP创建自定义托管属性和映射? [英] How to create custom managed properties and map for CSWP in sharepoint2013/online?

查看:98
本文介绍了如何在sharepoint2013 / online中为CSWP创建自定义托管属性和映射?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,请我需要帮助。
我对内容汇总网页部分和所有关于抓取和管理的属性的内容都很陌生。我无法访问SP2013 onprem中央管理员,所以试图在SPO上实现这一点。

Hi all , Please Please I need help. I am pretty new to the content roll up web part and all about crawled and manged properties stuff. I have no access to SP2013 onprem central admin so trying to achieve this on SPO.

我有我希望在
内容搜索网页部分中显示的工作人员列表,就像下面的视频一样。我按照步骤进行了操作,但我没有弄清楚他在哪里/如何获得托管属性,例如
C
ontactphotoOWSURLH / pic URL,
FullNameOWSTEXT
EmailOWSTEXT CommnetOWSMTXT

I have a staff list which i want to display in content search web part just like in the video below. I followed the steps but I didn't figured out where/how he got the managed properties like ContactphotoOWSURLH/pic URL , FullNameOWSTEXT, EmailOWSTEXT and CommnetOWSMTXT

我做了查询并使用LIStID获取了我的列表在属性过滤器框中。  但无法 显示  他们的图片,电子邮件和其他列  信息   i
想要。

I did the query and got my list using LIStID in property filter box. But unable to display their picture, email, and other columns information i want.

现在我想要的是,从下面的屏幕截图中显示4件事。

Now what I want is, from the screen shot below to display 4 things.

&nb SP;     1.我的清单/图片网址框中的员工图片

      1. Staff picture which i have in my list / In picture url box

      2. 员工姓名/第1行

      2.  Staff Name/Line 1

      3。员工电邮/第2行,

     3. Staff Email/Line 2,

      4。员工部门/第3行

     4. Staff Department/ Line 3

我的所有列都只是未添加为网站列的列。 

All my columns are just columns not added as a site column., 

那么,我该如何创建自定义 托管属性
并映射以显示CSWP中的任何列?
他在何处以及如何创建这些托管属性
 ?在搜索架构中?是?然后如何?  请从头开始解释步骤。   再次
我不熟悉此网页部分并进行搜索

So, How can I create a custommanaged properties and map to display any column in CSWP? where and how he created those managed properties ? In search schema ? yes? then HOW? Please explain the step from the beginning.  Again I am new to this web part and search

< span style ="color:#111111">






推荐答案

嗨MD-K,

Hi MD-K,

托管属性必须可以在CSWP中显示。如果要在本地使用SharePoint,则只能在CA中创建可修改的自定义托管属性。

The managed properties must be refinable to be shown In CSWP. If you want to use SharePoint on premise, you can only create custom managed properties refinable  in CA.

因此,您可以使用网站集中默认的未使用托管属性。这是您可以使用的未使用的托管属性。

So you can use the default unused managed properties from site collections .Here are unused managed properties you can use.

< span style ="color:black"> HTTPS: //docs.microsoft.com/en-us/SharePoint/search/manage-the-search-schema#default-unused-managed-properties

转到网站设置 - >搜索架构,然后搜索这些托管属性。




然后将映射添加到已爬网属性,确保已爬网列表。




在CSWP中,您可以更改托管属性的映射如下:




最诚挚的问候,

Lisa Chen


这篇关于如何在sharepoint2013 / online中为CSWP创建自定义托管属性和映射?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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