SharePoint 2016列表的交通灯指示器

编程入门 行业动态 更新时间:2024-10-25 12:21:18
本文介绍了SharePoint 2016列表的交通灯指示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

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

谢谢

解决方案

cjlee18,

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

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

有关客户端渲染的信息:

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

最好的问候,

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:

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

Best Regards,

Linda Zhang

更多推荐

SharePoint 2016列表的交通灯指示器

本文发布于:2023-10-30 11:35:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1542738.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:交通灯   指示器   列表   SharePoint

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!