Forum Discussion
Gareth Jayne
Jan 11, 2019Copper Contributor
Flow button in Modern Document Library Web Part
Hi everyone I am working on a modern Team Site. I have followed the instructions here to create a button in a document library to run a flow on a specific document, and this works perfectly in t...
mgrif0
Sep 23, 2021Copper Contributor
The URL to run a flow is almost the same as the URL to edit the flow.
If the Edit URL is:
https://<region>.flow.microsoft.com/manage/environments/<environment guid>/flows/shared/<flow guid>/details
Then the Run URL is:
https://<region>.flow.microsoft.com/manage/environments/<environment guid>/flows/shared/<flow guid>/run
Just change the /details to /run.
Now, it doesn't launch as smoothly as you would hope, but it DOES work in a web part. You may also need to work with it to get it to pass any details of the item you want it to run against. i.e. pass in parameters from the list item.
If the Edit URL is:
https://<region>.flow.microsoft.com/manage/environments/<environment guid>/flows/shared/<flow guid>/details
Then the Run URL is:
https://<region>.flow.microsoft.com/manage/environments/<environment guid>/flows/shared/<flow guid>/run
Just change the /details to /run.
Now, it doesn't launch as smoothly as you would hope, but it DOES work in a web part. You may also need to work with it to get it to pass any details of the item you want it to run against. i.e. pass in parameters from the list item.
ishchupak
Feb 10, 2022Copper Contributor
Can u elaborate, how to use it inside List WP, company disabled embedded WP, besides, I need List WB to be connected to other lists on the page