sp-dev-fx-webparts/samples/react-enhanced-page-properties
dependabot[bot] 33628e0d72
Bump @babel/traverse in /samples/react-enhanced-page-properties
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 23:26:51 +00:00
..
.devcontainer Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
assets Updated readme, sample.json 2023-10-23 13:00:06 -04:00
config Add support for choice and date fields 2023-10-10 22:31:14 +07:00
fast-serve Add fast-serve 2023-07-28 22:41:24 +07:00
src Add support for choice and date fields 2023-10-10 22:31:14 +07:00
teams Initial generated code 2023-07-28 22:30:51 +07:00
.eslintrc.js Initial generated code 2023-07-28 22:30:51 +07:00
.gitignore Add fast-serve 2023-07-28 22:41:24 +07:00
.npmignore Initial generated code 2023-07-28 22:30:51 +07:00
.nvmrc Updated readme, sample.json 2023-10-23 13:00:06 -04:00
.yo-rc.json Initial generated code 2023-07-28 22:30:51 +07:00
README.md Updated readme, sample.json 2023-10-23 13:00:06 -04:00
gulpfile.js Add fast-serve 2023-07-28 22:41:24 +07:00
package-lock.json Bump @babel/traverse in /samples/react-enhanced-page-properties 2023-10-25 23:26:51 +00:00
package.json Add support for choice and date fields 2023-10-10 22:31:14 +07:00
pnpm-lock.yaml Bump @babel/traverse in /samples/react-enhanced-page-properties 2023-10-25 23:26:51 +00:00
tsconfig.json Initial generated code 2023-07-28 22:30:51 +07:00

README.md

Enhanced Page Properties

Summary

This is a web part that goes beyond the standard SharePoint Page Properties web part, offering expanded support for various metadata types and configurations. Effortlessly display key page details based on metadata files, providing a comprehensive view of your content. Streamline information management and enhance user interaction with this versatile and customizable web part.

Currently support following types:

  • Single line text
  • Multiple line text
  • Choice
  • Date

Configuration

  • Title: Allow to set the displayed title. The built in SharePoint Page Properties web part doesn't allow user to change the displayed title. It will always be Properties
  • Fields: Allow to display multiple fields separated by comma (this will be improved in the future). It's already support multiple line type. The built in SharePoint Page Properties web part doesn't support it.

Plan for next version

  • Support taxonomy field view
  • Support people field view
  • Support lookup field view
  • Support currency field view
  • Support hyperlink field view
  • Support image field view
  • Improve web part configuration

Web part

Compatibility

SPFx 1.17.4 Node.js v16 Compatible with SharePoint Online Local Workbench Unsupported

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Contributors

Version history

Version Date Comments
1.1 October 23, 2023 Add support for choice and date fields
1.0 September 23, 2023 Initial release

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-enhanced-page-properties, 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.

Features

  • Show page metadata
  • Set displayed title
  • Set displayed fields
  • Show warning message if the fields is not exist

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 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.