我正在使用SharePoint 2013,并设置了一个小知识库。 我正在使用此代码显示页面上企业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并立即找到它。这可能吗?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top