Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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 –  Vandoorn Kevin May 15 '13 at 12:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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