You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ My colleague [MrAutomate33](https://github.com/mrautomate33) and I have been lon
17
17
<br />
18
18
This SPFx (SharePoint Framework) command set expands on the existing 'trigger a flow' menu button in SharePoint, and allows you to configure one or more HTTP request triggered flows and serve the user with a choice on which flow to execute when selecting one or more items by injecting a menu lint and context button upon loading the page. A sppkg for both SharePoint document libaries and custom lists are available.
19
19
20
-
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for custom lists here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.4.0)**
20
+
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for custom lists here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.5.0)**
21
21
22
-
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for document libraries here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.4.0)**
22
+
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for document libraries here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.5.0)**
23
23
24
24
## Compatibility
25
25
@@ -33,7 +33,7 @@ This SPFx (SharePoint Framework) command set expands on the existing 'trigger a
33
33
34
34

35
35
36
-

36
+

37
37
38
38
## Applies to
39
39
@@ -73,6 +73,7 @@ This SPFx (SharePoint Framework) command set expands on the existing 'trigger a
73
73
|[1.2.0](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.2.1)| August 1, 2022 | Customizable list and folder whitelisting and content type and file extension blacklisting |
74
74
|[1.3.0](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.3.0)| October 2, 2022 | Dynamic user input form |
75
75
|[1.4.0](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.4.0)| October 4, 2022 | Support lookup as user input |
76
+
|[1.5.0](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.5.0)| October 5, 2022 | UI and dynamic input form optimalizations |
76
77
77
78
## Supported languages
78
79
- English
@@ -110,7 +111,11 @@ If the command set is installed on the site and the user opens a document librar
110
111
111
112
Upon pressing the menu button, a dialog will appear, displaying choices for every configured flow in the provisioned configuration list. The user will be able to choose which flow they want to trigger (see example below).
> Note that the web part and its components is SharePoint theme-aware.
114
+
115
+
If requested user input has been configured for the selected flow, the webpart will dynamically build the input fields and display them to the user, requesting their input. Based on the presence of required fields, the button to trigger the flow will be disabled until all required field maintain a valid value (see example below). 
116
+
117
+
If no requested user input has been configured, the webpart will simply show the button to trigger the flow with (see example below). 
118
+
> Note that the web part and its components are SharePoint theme-aware.
114
119
115
120
If the configured flow uses a POST method, the command set will pass a request body JSON-object to the flow with the following properties:
116
121
| Name | Type | Description | Example |
@@ -238,6 +243,7 @@ This request body translates to the following Power Automate body schema:
238
243
}
239
244
}
240
245
````
246
+
> Note that inserting the user input schema into the HTTP trigger body is not required. The input field values will still be available to you in your flow, but just not as a dynamic content property
241
247
> Note that flows configured with a GET method <u>will not</u> receive a request body, since that is not supported within the Power Automate response (HTTP) trigger.
242
248
243
249
<br />
@@ -276,6 +282,6 @@ If a message is present, it will be displayed in the dialog that is shown to the
276
282
277
283
## Download the web part packages
278
284
279
-
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for custom lists here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.4.0)**
285
+
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for custom lists here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.5.0)**
280
286
281
-
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for document libraries here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.4.0)**
287
+
**[<imgsrc="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.iconsdb.com%2Ficons%2Fpreview%2Froyal-blue%2Fdata-transfer-download-xxl.png&f=1&nofb=1"alt="Download .sppkg file"style="width:15px;margin-right:10px;"/><u>Download the .sppkg file for document libraries here!</u>](https://github.com/cupo365/enhanced-power-automate-command-set/releases/tag/v1.5.0)**
0 commit comments