Hello everybody,
Please can you help me with the following situation?
I have a column in a SharePoint library in which I have added a button flow. The button will be visible if the column value (Document status) is not equal with Approved.
Now, I would like to make the butto visible if:
1. the column value (Document status) is not equal with Approved
2. the column "Approvers" is not empty (where the type column for Approvers is person)
Please see below the JSON scheme:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "span",
"style": {
"color": "#001f00"
},
"children": [
{
"elmType": "button",
"style": {
"border": "light",
"background-color": "Orange",
"color": "#001f00",
"cursor": "pointer",
"visibility": {
"operator": "?",
"operands": [
{
"operator": "!=",
"operands": [
"[$Document_x0020_status]",
"Approved"
]
},
"visible",
"hidden"
]
}
},
"txtContent": "Send to Approval",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"53c665d0-ce12-4148-aa5a-c7202557ea78\"}"
}
}
]
}
Thank you
Claudia

Report
All responses (
Answers (