如何在SP 365的“讨论论坛"中更改视图栏? [英] How to change the Views bar in Discussion Forums in SP 365?

查看:165
本文介绍了如何在SP 365的“讨论论坛"中更改视图栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的

我想知道是否可以将讨论"应用程序中的顶部栏更改为仅显示已回答"和未回答"的讨论.就像我们可以使用常规列表的视图一样.

I would like to know if it is possible to change the top bar in the Discussions app to show only the Answered and Unanswered discussions. Like we can do with the views for regular lists.

先谢谢您

C. Fuly

推荐答案

请将以下代码添加到列表视图页面的内容编辑器Web部件中.

Please add the following code into a content editor web part into your list view page.

<style type="text/css">
a[aria-label='All Documents, View']{
	display:none !important;
}
a[aria-label='My discussions, View']{
	display:none !important;
}
a[aria-label='Featured, View']{
	display:none !important;
}
</style>

<script src="//code.jquery.com/jquery-3.1.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
var myVar;
function initSelect(){
	if(


("a [aria-label ^ ='未回答的问题']'''.).length> 0){
("a[aria-label^='Unanswered questions']").length>0){


(" ; a [aria-label ^ ='Un回答的问题']').click(); clearInterval(myVar);
("a[aria-label^='Unanswered questions']").click(); clearInterval(myVar);


这篇关于如何在SP 365的“讨论论坛"中更改视图栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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