SharePoint 2016列表的交通灯指示器 [英] Stoplight Indicator for SharePoint 2016 List

查看:73
本文介绍了SharePoint 2016列表的交通灯指示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从对SharePoint进行更改以来,是否有一种简单的方法可以向自定义列表中添加红色/黄色/绿色的交通信号灯指示器?

我在网上可以找到的所有解决方案似乎早于SharePoint的最新更改. (太奇怪了,以至于较新版本的软件功能不如较早版本.令人惊讶的是,利润动机将使像MicroSoft这样的公司做到这一点……)

谢谢

解决方案

我们可以 使用计算出的字段为字段着色.但是,从2017年6月13日开始,Microsoft会阻止在SharePoint Online中的计算字段中执行自定义标记. 2017年6月的公共更新(PU)和更高版本的PU将使阻止成为可配置选项 用于SharePoint Server 2016和SharePoint Server 2013的本地使用.了解有关的更多信息 在SharePoint计算字段中处理HTML标记.

另一种方法,我们可以使用客户端呈现来呈现列表视图.

有关客户端渲染的信息:

最好的问候,

Linda Zhang


Since the changes to SharePoint, is there a simple way to add a red/yellow/green stoplight indicator to a custom list?

All the solutions I can find on-line seem to pre-date the latest changes to SharePoint.  (So strange that newer versions of a software are less capable than earlier versions... amazing what a profit motive will make a company like MicroSoft do...)

Thanks

解决方案

Hi cjlee18,

We can use the calculated field to color fields. However, Microsoft block the execution of custom markup in calculated fields in SharePoint Online from June 13, 2017 onwards. The June 2017 Public Update (PU) and later PUs will make blocking a configurable option for on-premises use in SharePoint Server 2016 and SharePoint Server 2013. Learn more about handling HTML markup in SharePoint calculated fields.

Another method, we can use Client Side Rendering to render list view.

Information about Client Side Rendering:

https://www.codeproject.com/Articles/620110/SharePoint-Client-Side-Rendering-List-Views

Best Regards,

Linda Zhang


这篇关于SharePoint 2016列表的交通灯指示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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