logo
search
SharePoint Document Issues

Fix SharePoint Gallery View Button Not Triggering Power Automate Flow

Tauseeq MagsiTauseeq Magsi Oct 13, 2026 868 views

Question details

The user needs a SharePoint column-formatting button to successfully trigger a Power Automate flow while in Gallery View and on mobile devices.

How to Fix SharePoint Gallery View Button Not Triggering Power Automate Flow
Product
SharePoint
Device & OS
not provided
Scenario
Attempting to execute a Power Automate flow using a custom JSON formatted button in a SharePoint list's Gallery View.
Observed behavior
The formatting button works perfectly in standard List View but appears blank or completely fails to trigger the flow when accessed in Gallery View or on a mobile device.
Before you start

Verify that your Microsoft 365 license includes Power Apps capabilities, as the primary workaround involves building a custom gallery layout using Power Apps.

Solution 1Recommended

Build a Custom Gallery Using Power Apps

Since SharePoint's native Gallery View does not support triggering flows via the JSON executeFlow action, integrating a Power App is the most reliable way to achieve this functionality on both desktop and mobile.

Currently, SharePoint JSON column formatting with the executeFlow action is only fully supported in the standard List View. When you switch to Gallery View, the button loses its ability to reference and fire the flow. By customizing the list form with Power Apps, you bypass this limitation and gain full mobile compatibility.

1
Launch Power Apps Integration

Navigate to your SharePoint list, click on the 'Integrate' menu at the top, select 'Power Apps', and then choose 'Customize forms' to open the Power Apps Studio.

2
Insert a Custom Gallery

In the Power Apps Studio, click 'Insert' from the top menu, select 'Gallery', and choose a layout (such as Vertical). Connect this gallery to your SharePoint list data source.

3
Add an Action Button

Select the first item template in your newly created gallery, go to the 'Insert' tab, and click 'Button' to place a clickable button inside the gallery card.

4
Connect the Power Automate Flow

With the button selected, click on the 'Power Automate' icon in the left sidebar or top action menu, and select your existing flow to link it to the Power App.

5
Configure the OnSelect Property

Update the button's OnSelect property in the formula bar to pass the specific item's data to the flow, for example: YourFlowName.Run(ThisItem.ID).

Build a Custom Gallery Using Power Apps
Licensing Requirement: Ensure all users who need to click this button have the appropriate Power Apps license to access and run the embedded app. Standard Microsoft 365 licenses cover basic connectors.
Free Microsoft Office alternative

Enhance Your Daily Productivity with WPS Office

While Microsoft SharePoint and Power Automate handle complex backend list automations, WPS Office provides a free, lightweight, and highly compatible suite for all your daily document, spreadsheet, and presentation tasks. Experience powerful productivity without the heavy enterprise licensing costs.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the Software: Run the downloaded installer file and follow the quick on-screen setup instructions.
  3. 3. Open Your Office Files: Launch WPS Office and directly open any existing Microsoft Office documents, spreadsheets, or presentations with complete format retention.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formatsLightweight architecture ensures fast load times even on older devicesFree built-in PDF editing, conversion, and signature toolsIntuitive tabbed interface allows you to open multiple documents in one windowSeamless offline usage with optional cloud synchronization
microsoft office alternative - wps office

Frequently Asked Questions

Why does my column formatting button work in List View but not Gallery View?

SharePoint currently has a known limitation where the 'executeFlow' action inside JSON column formatting is not supported within the Gallery View layout. This causes the button to either fail silently, not render properly, or appear completely unresponsive.

Can I use SharePoint column formatting buttons on the mobile app?

Column formatting buttons that are designed to trigger Power Automate flows often experience rendering and execution issues on the standard SharePoint mobile application. Using a Power Apps integrated form is the officially recommended method to ensure mobile compatibility.

Do I need a premium license to use Power Apps for this Gallery View workaround?

If your Power Automate flow utilizes standard connectors (like SharePoint and Office 365 Outlook), the seeded Power Apps license included with standard Microsoft 365 plans is usually sufficient. However, if your flow uses premium connectors (like SQL Server or Dataverse), a premium license will be required for all interacting users.