Nov 01 2022 06:29 AM
I'm using JSON column formatting to run flow using button. In List Page, everything works well, the flow is launched by pressing the button, but if I open this List in Home Page, the button does not work. How can this be fixed?
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"j0105ab2-ea8a-478d-b7fa-89180dca1c7b\"}"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Flow"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "It's Flow Time!"
}
]
}
Dec 08 2023 07:57 AM
Dec 08 2023 08:33 AM
@Antima1260 it won't work from the web part, it has to be run from the list itself.