0

I am using Sharepoint 2013 and have set up a small knowledge base. I am displaying the hidden ID of the enterprise wiki page on the page using this code:

<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"/>

Now my goal is to search on this article ID and find it immediatly. Is this possible?

1

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.

1
  • Thanks Max ! I added the property to be a crawled property i've adjusted the advanced search page to set the ID there as one of the options so users don't have to type ArticleID May 15 '13 at 12:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.