Forum Discussion
Pavel48n0sh
Nov 01, 2022Brass Contributor
run flow using JSON doesn't work in Home Page
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!"
}
]
}2 Replies
- Antima1260Copper ContributorHello Pavel48n0sh ,Have you got any solution for this issue because I am also facing the same issue.
- Rob_ElliottSilver Contributor
Antima1260 it won't work from the web part, it has to be run from the list itself.