0

I have setup a result source and currently when i do a search it returns some pages with allitem.aspx,disform.aspx and editform.aspx but i want to do the following:- - Remove the allitems.aspx for this particular list - Change the disform.aspx?ID=itemID and editform.aspx?ID=itemID to a custom page e.g showNews.aspx(which would look like this showNews.aspx?ID=itemID

Is this possible for just some particular lists and not all lists?

Thanks in advance

0

I would start by adding a custom display template for the items that converts the result URL to your new page. Since you want to keep the result and only change the destination that would be a good start.

8
  • Thanks Matthew.But any resources to help get that started would be appreciated – naijacoder Dec 6 '19 at 5:44
  • Try this for Display Templates: ableblue.com/blog/archive/2013/06/05/… – Matthew McDermott Dec 6 '19 at 12:37
  • Thanks Matt would check it out – naijacoder Dec 6 '19 at 21:39
  • If i need to change the OTB search result which specific template should i be modifying? Is it the Control_SearhResults.html? – naijacoder Jan 14 '20 at 6:50
  • I need to change the displayform.aspx and allitems.aspx to a custom page e.g customdisplay.aspx?ID=1 – naijacoder Jan 14 '20 at 7:04

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.