Поиск на скрытый идентификатор страницы Enterprise Wiki
-
10-12-2019 - |
Вопрос
Я использую SharePoint 2013 и создал небольшую базу знаний. Я показываю скрытый идентификатор страницы Enterprise Wiki на странице, используя этот код:
<SharePoint:EncodedLiteral runat="server" text="Article ID:" EncodeMethod="HtmlEncode"/></strong></b>
<SharePoint:NumberField id="XXXXX" ControlMode="Display" FieldName="1d22ea11-1e32-424e-89ab-9fedbadb6ce1" runat="server"/>
.
Теперь моя цель - поиск по этой статье и найдет его немедленно.Это возможно?
Решение
Yes, create a managed property for the field and call it e.g. ArticleID. Then map the crawled property for the field with the id: 1d22ea11-1e32-424e-89ab-9fedbadb6ce1 to the managed property ArticleID.
Then you can search for ArticleID:123 in the searchcenter or with a search webpart and get the item.
Не связан с sharepoint.stackexchange