显示用于在Office 365中显示搜索结果的模板 [英] Display template for displaying search results in office 365

查看:80
本文介绍了显示用于在Office 365中显示搜索结果的模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hei

我使用搜索Web部件显示一种内容类型的数据.搜索webpart配置为test.aspx页面.它仅显示默认模板的结果,现在我想自定义显示模板,但是当我搜索item_default.html文件和 导航到_catalogs/masterpage/search/我找不到任何.html文件.有人帮忙吗??是什么问题.

解决方案

您需要启用发布功能.

1.在网站集级别,激活SharePoint Server发布基础结构.

2.在网站级别,激活SharePoint Server发布.

最好的问候,

Linda Zhang


Hei

Iam using search webpart for displaying the data from one content type . search webpart is configured to test.aspx page .it display results just from default template now i want to customize display template but when i search for item_default.html file and navigate to _catalogs/masterpage/search/ i dont find any .html file . anyone help ?? what is the issue .

解决方案

Hi mirsalman,

You need to enable the publishing features.

1. At the Site Collection level, activate SharePoint Server Publishing Infrastructure.

2. At the Site level, activate SharePoint Server Publishing.

Best Regards,

Linda Zhang


这篇关于显示用于在Office 365中显示搜索结果的模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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