sp-dev-fx-webparts/samples/react-my-approvals
dependabot[bot] 49c2643178
Bump ip from 1.1.8 to 1.1.9 in /samples/react-my-approvals
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 04:06:53 +00:00
..
.devcontainer
assets Updated sample.json and readme 2022-11-09 11:04:49 -05:00
config
src
teams
.eslintrc.js
.gitignore
.npmignore
.yo-rc.json
README.md Added more contributions 2023-03-15 01:23:34 -04:00
gulpfile.js
package-lock.json Bump ip from 1.1.8 to 1.1.9 in /samples/react-my-approvals 2024-02-22 04:06:53 +00:00
package.json
tsconfig.json

README.md

My Approvals

Summary

This web part demonstrates displaying the list of approval requests of Power Automate. Power Automate provides a new workflow feature that replaces SharePoint workflows, but it is a Power Platform feature, not a Microsoft 365 feature. You can display approval requests from only Power Automate site. This web part enable to display approval requests from SharePoint site.

Web part preview

Compatibility

⚠️ Important
Every SPFx version is only compatible with specific version(s) of Node.js. In order to be able to build this sample, please ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.
Refer to https://aka.ms/spfx-matrix for more information on SPFx compatibility.

SPFx 1.15.2 Node.js v16 | v14 | v12 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Unsupported Hosted Workbench Compatible (with permissions) Compatible with Remote Containers

NodeJS version must match >=10.13.0 <11.0.0 on >=12.13.0 <13.0.0 or >=14.15.0 <15.0.0

Prerequisites

This web part uses Microsoft Flow Service API. You need to approve the API request after deploying the package.

  • Approvals.Read.All
  • Flows.Read.All

For more information, see docs.

Minimal Path to Awesome

  • Clone this repository (or download this solution as a .ZIP file then unzip it)
  • From your command line, change your current directory to the directory containing this sample (react-my-approvals, located under samples)
  • in the command-line run:
    • npm install
    • gulp serve

This sample can also be opened with VS Code Remote Development. Visit https://aka.ms/spfx-devcontainer for further instructions.

Contributors

Version history

Version Date Comments
1.3 November 2, 2022 Updated to support responsive layouts; Upgraded to SPFx v1.15.2
1.2 March 28, 2022 Upgraded to SPFx v1.14
1.1 January 22, 2022 Updated to allow multiple environments to be selected
1.0 January 11, 2022 Initial release

Help

We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

If you're having issues building the solution, please run spfx doctor from within the solution folder to diagnose incompatibility issues with your environment.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

You can also try looking at discussions related to this sample and see what the community is saying.

If you encounter any issues while using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.