首页 > 解决方案 > Sharepoint 列格式化 Json

问题描述

我在 Sharepoint (Online) 中有一个名为 ShareBim360 的专栏。如果该项目可能是 Flow 中的流程,则值为 Yes。

如果该值确实是,我正在尝试格式化显示按钮的列。由于某种原因,该按钮对库中的所有行都是可见的。

有任何想法吗?谢谢!

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "button", "txtContent": "分享到 Bim360 ", "customRowAction": { "action": "executeFlow", "actionParams": "{"id": "7b27a94b-374e-4253-9f63-e0c0d33aa1b0"}" }, "style": { "background-color" : "#468259", "color": "white", "visibility": "=if(([$ShareBim360] == 'Yes'),'hidden','visible')" } }

标签: sharepoint

解决方案


推荐阅读