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 https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#create-a-button-to-la...
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.
Romain740
Jan 10, 2022Copper Contributor
- jherskoMay 03, 2022Copper Contributor
For those who don't know how, to display a list or library in an Embed web part, add this code to the web part (replace URL with your information): <iframe width="402" height="346" frameborder="0" scrolling="no" src="https://YOURURL"></iframe>
Full details are https://jennyssharepointtips.wordpress.com/2022/05/02/embed-a-library-or-list-from-another-site-collection-on-a-site-page/.
- HelenSanaJan 29, 2022Copper ContributorIt`s simply and work! ⭐