自定义 Sharepoint Services 3.0 Wiki 中的搜索结果显示
我正在考虑使用 Windows SharePoint Services 3.0 wiki 作为元数据存储库。 我们基本上想要一个社区驱动的字典,并且出于各种原因,我们使用 Sharepoint 而不是 MediaWiki。
我可以做什么来自定义或完全替换 searchresults.aspx?
如果我知道如何操作,我会添加以下功能:
- 如果与搜索词 100% 匹配,则自动加载 #1 命中
- 显示第一个每个结果的几行作为预览,这样用户就不必点击查看错误结果
- 添加“页面不存在,单击此处创建它”链接,以防出现 100% 匹配的情况
我有 Sharepoint Designer 已安装,看起来我可以使用它上传我创建的任何自定义 .aspx 文件,但我没有看到它能让我访问 searchresults.aspx。
注意:由于我计划通过 URL 参数从外部站点访问此搜索工具,因此可以保留现有的 searchresults.aspx 不变,而只需加载此解决方案作为补充搜索选项。
I'm looking at using a Windows SharePoint Services 3.0 wiki as a metadata repository. We basically want a community-driven dictionary and for various reasons we're using Sharepoint instead of say MediaWiki.
What can I do to customize or completely replace searchresults.aspx?
Features I'd add if I knew how:
- Automatically load the #1 hit if it is a 100% match to the search term
- Show the first few lines of each result as a preview so users don't have to click through to bad results
- Add a "Page doesn't exist, click here to create it" link in cases where there's not a 100% match
I've got Sharepoint Designer installed and it looks like I'll be able to use it to upload any custom .aspx files I create but I don't see that it will give me access to searchresults.aspx.
Note: Since I plan to access this search tool from an external site via URL parameters it should be fine to leave the existing searchresults.aspx unchanged and just load this solution as a complementary search option.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,一切皆有可能,但您需要对其进行一些定制。
我建议您构建一个自定义 Web 部件来显示您的结果。 这是一篇不错的文章: http://msdn.microsoft.com /en-us/library/ms584220.aspx
Yes, everything is possible but you will need to customize it a little bit.
I would recommend you to build a custom web part to display your results. Here is a nice article to start with: http://msdn.microsoft.com/en-us/library/ms584220.aspx