Hi,
I've create a flow trigger "For a Selected Item" which works fine with a Microsoft List (there is a button on one of the columns which triggers this). I am the owner of the list, flow, and the Sharepoint site.
Upon adding the list (actually a view of the list) on a web part, I can see the button on the column to trigger the flow but nothing happens when I clicked. I've already set the list in the Owners and Run-only users but no luck. Does this just not work on Sharepoint pages?
Here's the json format of the column (so that there's a button):
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"myguid\"}"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer",
"display": "=if([$ApprovalStatus] == 'Approved' || [$ApprovalStatus] == 'Pending' , 'none', 'display')"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Flow"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "=if([$ApprovalStatus] == 'Rejected', 'Restart Approval', 'Start Approval')"
}
]
}
This is how the button looks like (just so you'd have an idea of what I'm talking about):
Anything I might have missed?
Thanks,
Ver
Found a workaround: add an "embed" web part and plug the view URL (with ASPX, not the viewId) and it works!
Here I am from end of 2023 testifying that it is still not fixed! Where do I report that?
Microsoft still haven't fixed this? Ran into the same issue today...
Have you managed to solve this? I have exactly the same problem.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional