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

1 Answer 1

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
    Commented Dec 6, 2019 at 5:44
  • Try this for Display Templates: ableblue.com/blog/archive/2013/06/05/… Commented Dec 6, 2019 at 12:37
  • Thanks Matt would check it out
    – naijacoder
    Commented Dec 6, 2019 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
    Commented Jan 14, 2020 at 6:50
  • I need to change the displayform.aspx and allitems.aspx to a custom page e.g customdisplay.aspx?ID=1
    – naijacoder
    Commented Jan 14, 2020 at 7:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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