I have a flow whose trigger is the SharePoint trigger named:
The default behavior of this trigger is that when a file is selected, the flow is available under the Automate
menu.
By default, if you select more than one item, the flow is not visible under the Automate
menu.
In order to make it easier for users to run the flow, I have added a button in a column to run the flow.
This is a common modification which is documented by Microsoft here:
Create a button to launch a flow
This works well, however if a user selects more than one item , the 'buttons' are still visible.
This can confuse the user as they will think it is possible to run the flow on all the selected items (when this is actually not possible).
Is it possible to hide the 'buttons' displayed by column formatting when more than one item is selected?
I do not currently have access to SharePoint framework modifications etc., so am looking for a solution that uses plain JSON column formatting.