搜索“我的网站"中的显示模板 [英] Search Display Template in Mysites

查看:74
本文介绍了搜索“我的网站"中的显示模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个搜索显示模板项目级别来显示人员信息.我能够将其添加到常规网站集的Masterpage Gallery中,并很好地创建了一个演示页面.但是,当我尝试将其添加到Mysites网站集中时,我只会看到Javascript 项目显示模板的文件.当我添加Javascript文件时,它确实会显示在项目"显示模板的下拉列表中,但在Mysites中不起作用.我们如何将新的显示模板部署到Mysites网站集中.请让我知道.

I developed a search display template item level to display people information. I was able to add it to Masterpage Gallery on a regular site collection and created a demo page fine. But when i'm trying to add it to Mysites site collection i only see Javascript files for Item display templates. When i add my Javascript file it does show up in dropdown for Item display template but doesn't work in Mysites. How can we deploy new display templates to Mysites site collection. Please let me know.

推荐答案

您好,Naveen,

Hi Naveen,

如果您还想添加项目显示模板",进入母版页"库,您需要转到网站设置"->网站集功能",激活"SharePoint Server发布基础结构"".

If you also want to add "Item Display Template" into Master Pages gallery, you need to go to Site settings->Site Collection features, activate "SharePoint Server Publishing Infrastructure".

谢谢

温迪


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

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