Enterprise Wiki 페이지의 숨겨진 ID에서만 검색하십시오
-
10-12-2019 - |
문제
SharePoint 2013을 사용하고 작은 지식 기반을 설정했습니다. 이 코드를 사용하여 페이지의 Enterprise Wiki 페이지의 숨겨진 ID를 표시하고 있습니다.
<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"/>
.
이제 내 목표는이 문서 ID를 검색하고 immediatly를 찾는 것입니다.이것이 가능한가?
해결책
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