编辑显示模板以在内容搜索Web部件中显示具有自定义属性的文档集的内容 [英] Edit Display Template To Show Content Of Document Sets With A Custom Property In A Content Search Web Part

查看:78
本文介绍了编辑显示模板以在内容搜索Web部件中显示具有自定义属性的文档集的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出一种方法(一个js代码)来编辑显示模板,因此它以自定义属性的值(标题为"TestChoiceColumn"的选择列)显示文档集的内容.内容搜索Web部件.我发现了一种非编码方式 以显示该自定义列,但仅在文档集级别上显示.我试图使其以该选择列的值显示每个文档集的内容,这需要在Content Search Web部件中进行.这是一个SharePoint Online平台.就是这样 现在看来,每个文档集的内容都需要使用我在其中提到的每个文件提到的选择列的值来查看,任何帮助将不胜感激:

I'm trying to figure out a way (a js code) to edit a display template, so it shows the content of the document sets with a custom property's value(choice column entitled "TestChoiceColumn") in a content search web part. I found a non coding way to display that custom column, but only on the document sets level. I'm trying to make it show the content of each document set with that choice column's value, it needs to happen in a Content Search Web Part. It's a SharePoint Online Platform. Here's how it looks like for now, content of each document set needs to be visable with the value of the choice column I mentioned for each of the files inside, any help will be very much appreciated:

推荐答案

有人想帮助我解决这个问题吗?在此先感谢您的帮助!
Anyone with an idea to help me solve this? Your help will be very much appreciated, thanks in advance!


这篇关于编辑显示模板以在内容搜索Web部件中显示具有自定义属性的文档集的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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