Skip to content

Commit 258fb93

Browse files
ldemarisVesaJuvonen
authored andcommitted
Update column-formatting.md (SharePoint#1290)
* Update column-formatting.md Adding Flow button sample * Update column-formatting.md
1 parent 9df1981 commit 258fb93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/declarative-customization/column-formatting.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,12 @@ This example relies on two number fields, `Before` and `After`, for which the va
593593
]
594594
}
595595
```
596-
## Create Flow Buttons
596+
597+
## Create a button to launch a Flow
598+
The following screenshot shows a list with a Flow button added to the Action column:
599+
600+
![screenshot of the sample](../images/sp-columnformatting-flow.png)
601+
597602
You can use column formatting to create buttons that, when clicked, run Flows on the corresponding list item. If the Flow is configured to gather data from the end user before running, the Flow Launch Panel will be displayed after clicking the button. Otherwise, the Flow will just run.
598603

599604
To use the sample below, you must substitute the ID of the Flow you want to run. This ID is contained within the `customRowAction` attribute inside the `button` element. To obtain a Flow's ID:

0 commit comments

Comments
 (0)