sharepoint - 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')" } }
解决方案
推荐阅读
- sql - 如何识别在 7 天内订购了 3 次或更多订单的客户。SQL/整体/红移
- rubygems - Jekyll::Drops::CollectionDrop:Class (NoMethodError) 的未定义方法 `delegate_method_as' 你的意思是?委托类
- kotlin - Kotlin 的“内部”关键字 Java 互操作
- c# - 如何在 Visual Studio 的构建时将文件或文本嵌入到 c# 项目 dll?
- python - 带有日志记录和 Click 的 Pytest 仅在 Docker 中失败并出现 ValueError
- javascript - 当我使用 CheckBox 时,AppRegistry 不是注册的可调用模块
- redux - RTK 查询`use*Query` 正在使用缓存的 isLoading 和数据,即使对于不同的 args
- mysql - 如何在 mysql 5.7 版本中删除
- sql - 在sqlite中的多个列上使用like时检查null
- java - 如何在不提取的情况下读取保存在 Apache Beam 中的云存储中的压缩 gzip csv 文件