cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

SharePoint list - Flow button trigger - non default environment

Hi all,

 

I'm using following JSON to format a column in SharePoint list and a create a button from in to trigger a Flow for the selected item:

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"5849426e-1596-4b40-8f4f-533cc440f7fd\"}"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "white",
"color": "blue",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "WordLogo"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "Fill Word"
}
]
}

 

I wonder if there is a way, using the code above, to run a Flow which is in non default environment?

Probably by using another parameter after "actionParams"?

 

 

Thanks,

Jan

1 REPLY 1
Highlighted
Community Support
Community Support

Re: SharePoint list - Flow button trigger - non default environment

Hi @xsomej ,

 

Thank you for your sharing.

But it seems that adding attributes is not working.

The basis for this Flow build is For a selected item, which is only available in Flow option of SharePoint list when it is created in default environment.

So I am afraid there is no suitable way to achieve the requirements.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,572)