cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FH1000
Helper II
Helper II

Trigger a button flow from sharepoint library

I have a library. I have made a button triggered flow to get file contents from a template and create a new file in said library. How can i get this flow triggered from the library? It doesnt show up in the flow menu as it is a button flow.

My workaround is to use "for selected file" as a trigger, but i wish to avoid to have to select a file to be able to trigger it.

 

thanks

3 REPLIES 3
efialttes
Super User
Super User

Hi!
You mean a button applying to the whole library?
I would say such functionality is not supported by Microsoft Power Automate (aka Flow) ... I am also using the workaround you suggest, but let's wait and see if somebody else gives us good news


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



sudharsan1985
Solution Sage
Solution Sage

Hi @FH1000 

You can try using the SPFx 'Command Sets' extension to design a button to trigger the flow. Please follow the below link for creating the extension.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-w...

compareOneCommand.visible = event.selectedRows.length === 1;

You can modify the above condition and enable the button to be visible always to the library.

 

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue

-Sudharsan K...

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

@sudharsan1985 

Wow! I was not aware of such functionality! At a first glance, it looks like Outlook add-ins feature

Thanx for sharing!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,247)