计算列显示图像. [英] Computed Column to display images.

查看:67
本文介绍了计算列显示图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个要求,新列的值取决于其他两个列

We have a requirement where the value of the new column depend on the two other columns

A = 3

B = 2

新列C = A * B [6]

New Column C = A*B [6]

如果C> 9

显示图片x

如果C> 5

显示图像y

其他

显示图像z

-------------

-------------

任何帮助都很有价值

推荐答案

我们过去常常使用计算所得的列"来显示HTML(例如 < img>标签):

There used to be a "trick" we used to display HTML (such as <img> tags) using Calculated Columns:

http://techtrainingnotes.blogspot.com/2017/12 /no-more-html-in-sharepoint-calculated.html

这在SarePoint Online中以及2017年6月更新之后在SharePoint 2013或SharePoint 2016中不起作用.

That does not work in SarePoint Online, and after the June 2017 updates, in SharePoint 2013 or SharePoint 2016.

https://support.microsoft.com /en-us/help/4032106/handling-html-markup-in-sharepoint-calculated-fields

最好的解决方案是使用工作流来更新图像字段.

The best solution would be using a workflow to update the image field.

 


这篇关于计算列显示图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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