Ability to run Flow from library/list webpart
It is possible to add custom buttons to run flows against documents and list items - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#create-a-button-to-launch-a-flow
However this only works when the user is in the library or list. If you're on a page and have a library/list web part the flow button is visible but does nothing when clicked. There's also none of the OOB options to run flows associated with the library/list when viewing them via the web part.
It would be really useful if this functionality was added as most of our libraries and lists are presented via pages on our SharePoint environment.
Aaron Ingram commented
I agree I am trying to actually create views on Sharepoint through Teams. I want the users to be able to run Flows from document libraries embedded in pages.
I was thinking, well if they go to the SP Site at least they will be able to run it there. Nope! I think if you are able to add web parts or pages into other views they need to have effectively the same functionality or it is very confusing for the end user.
@Mitch, this was exactly my use-case as well: To provide directions & context alongside the List items so it makes more sense to end-users.
The only way I found to get around it is to embed the List, which is OK for proof-of-concept studies but not in production. Embedding a List is very awkward and presents users with buttons & options that are not useful to them, and may distract or confuse them.
Yes please, this is really frustrating. Also, why can't you use a flow trigger button if you only have View access on a list.
Mitch Hawkins commented
I followed the same Microsoft Docs yesterday to add a Flow trigger button in a SharePoint list only to find that it doesn't work in web part - very disappointing.
I need to display the list in a page alongside instructions of how to add an item, then send a summary of that item via email (Flow). It's awkward to explain to end users that they can do most of the features from inside a page but then have to go into the list to trigger the button.