1

How can I change or customize search results for only some sorts of list items (belonging to a specific list) so that when you click on the result it does not open the list item but my application page?

  • How well versed are you in XSLT? You'll probably have to do some matching so that any result coming from your specified list has its own display template. – kei Sep 5 '14 at 14:36
  • I am not so good in XSLT. – Medes Sep 5 '14 at 14:41
1

Take a look at Customize search result types in SharePoint 2013 and SharePoint 2013 Design Manager display templates.

You could create a custom display template, perhaps using /_catalogs/masterpage/Display Templates/Search/Item_Default.html as your starting point, and change it so the links open your application page.

Then you could create a Result Type with a condition that matches your list, perhaps you can have it match the Path of your list, and an action that uses your custom display template.

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.