SharePoint 2013 Foundation Search Display items
I am trying to utilize search to help people find where stuff is in the organization. I would like to set up some files with key words that they would normally look for in the many applications with in the company. What I would like is that when someone searches for something if that word matches one of the words in the file, I want to return a result with the URL of the application and that's it. So for example. If I put in the work account. Search would return anything with the word account but in my specific files I also want it to return Just the URL so all they have to do is click on the url and it will take them to the application. I have read that you can modify the Search results but you have to edit the HTML. The only things i can find are the .js files no HTML files. Is this a short coming of Foundation and i have to upgrade to get to the HTML? Is what i'm trying to do even possible? Thanks for your help. 
July 22nd, 2013 3:39am

my understanding is that you have an application (represented by a url), and user does not remember the application name or url well, but he can remember his work account for the application. so he search with the work account as keyword in SharePoint, the application result is returned in search result, and click the result redirect to the application.

Have you tried adding the application as a link item in a SharePoint link list, or a "link to document" content type item in any other list or document library.


Free Windows Admin Tool Kit Click here and download it now
July 24th, 2013 5:49am

You need to activate the publishing infrastructure feature which I believe is only available in SharePoint Server. So you will have to upgrade to create custom display templates. 
July 24th, 2013 6:30am

I don't have a foundation on hand to test this, i tested on SharePoint server 2013, it works.
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2013 7:05am

Don't know if this feature is in Foundation but this certainly solved the issue of missing .html files for me. Thank you muchly.
September 26th, 2013 8:24am

What did solve your issue? I've ran into the same issue, the HTML files are missing on SP Foundation and the managed properties are not working from JavaScript.

Free Windows Admin Tool Kit Click here and download it now
January 30th, 2014 4:15am

Ok, I've found the solution. The display template HTML's are not supported on SP Foundation, but if you have a full version of SP and you generate the JS files there, then you can simply add them to master page gallery and set the correct content type ("Display Template Code" + set the Target Control Type to "SearchResults" or "SearchHoverPanel"). Once you've done this, the new templates will be showed in the list of display templates.

Regarding the managed properties, you have to enter the list of managed properties in the JS item properties (master page gallery -> right click on JS file -> edit properties: "Managed Property Mappings".

January 30th, 2014 4:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics