将搜索结果项重定向到Web部件视图而不是实际列表 [英] Redirect search result item to web part view not actual list

查看:41
本文介绍了将搜索结果项重定向到Web部件视图而不是实际列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有4个文档库(DL),每个文档库都已在Web部件中与另一个page.aspx一起查看.

I have 4 document libraries (DLs) , each of them has been viewed in a web part with another page.aspx.

我拥有所有这些DL的搜索中心,当搜索结果出现在搜索页面上,并且当用户单击任何搜索结果项时,SharePoint会将用户重定向到文档库的实际页面.

I have search center for all of those DLs, when the search result comes on the search page and when the user clicks any of the search result item, SharePoint redirects the user to the actual page of the document library.

我需要的是,当用户单击搜索结果项时,SharePoint将其重定向到在Web部件中显示文档库的页面.

what I need is, when a user clicks the search result item, SharePoint redirects him to the page that displays the document library in the web part.

谢谢

A.Hussein

A.Hussein

推荐答案

一种解决方案是自定义搜索显示模板,以覆盖指向特定页面的文档链接,请参考下面的演示:

A solution is that customize the search display template to override document link to a specific page, please refer the demo below:

自定义搜索显示模板替代链接:

Customize Search Display Template override link:

谢谢

最好的问候


这篇关于将搜索结果项重定向到Web部件视图而不是实际列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆