SharePoitn List ToolBar Button to Run Flow

Brass Contributor

I would like to create some kind of a button that would e-mail in a pretty format a filtered view to the a user.  Is there a way to do that?  The other question is how to format the Sharepoint List in a format so that it can be emailed and looks pretty?

4 Replies

It really depends on where you want to create the button. Your options are the following:

  • To add a button to the list action bar, you need to create a SPFx (SharePoint Framework) extension.
  • To add a button as an action in the list view, you can do it with JSON formatting

@VeeExcelLearn Here's my recommendation (quick & easy solution - might need end user training):

 

  1. Create a power automate flow with "For a selected item" trigger
  2. Get list filtered list items as per your requirements
  3. Then you can send an email using outlook connector - Sending a beautifully formatted email from Power Automate (Flow) 

This is how you can trigger the flow: 

ganeshsanap_0-1660128814820.png

 

Another options:

  1. SPFx list view command set - It will added to command bar but need development experience
  2. JSON formatting - Button will be added next to each list item

Also, check replies on my similar thread at: Custom action visible on the toolbar 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Can I create a button that will run an action that will display in the GALLERY or BOARD views? I have added buttons to columns, but they disappear in the Gallery view.

@CareyBoot Are you using JSON formatting for adding buttons? 

 

Gallery views has their own JSON formatting. You can get to gallery view JSON using steps in below thread then you can customize it to add your buttons to show in gallery view: Hide the check boxes of every card of a SharePoint List in Gallery view 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.