通过xsl更改搜索项URL [英] change search item URL by xsl
本文介绍了通过xsl更改搜索项URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个搜索Web部件,当我获得搜索结果时,我需要替换项目url,以便在用户单击其中的一个项目时将用户重定向到另一个页面.
I have a search web part and when I get search results, I need to replace items url to redirect the user to another page when he clicks one of them.
那么,如何通过XSL做到这一点?
So, how can I do that by XSL??
谢谢
Abdelfattah.
Abdelfattah.
推荐答案
请尝试自定义显示模板以实现它.
Please try to customize display template to achieve it.
以下文章供您参考:
SharePoint 2013 –搜索结果的链接显示模板
使用自定义显示模板和结果类型来自定义SharePoint 2013搜索结果以链接到中间页
这篇关于通过xsl更改搜索项URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文