sp-dev-fx-webparts/samples/react-enhanced-page-properties
Hugo Bernier d3ec78d75f Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
..
.devcontainer Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
assets Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
config Update metadata 2023-09-16 06:44:37 +07:00
fast-serve Add fast-serve 2023-07-28 22:41:24 +07:00
src Update metadata 2023-09-16 06:44:37 +07:00
teams
.eslintrc.js
.gitignore Add fast-serve 2023-07-28 22:41:24 +07:00
.npmignore
.nvmrc Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
.yo-rc.json
README.md Added nvmrc, container, sapmel.json 2023-09-26 23:06:18 -04:00
gulpfile.js Add fast-serve 2023-07-28 22:41:24 +07:00
package-lock.json Add configuration 2023-07-30 12:34:51 +07:00
package.json Add configuration 2023-07-30 12:34:51 +07:00
pnpm-lock.yaml Add readme 2023-09-24 06:27:04 +07:00
tsconfig.json

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.

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 choice field view
  • Support people field view
  • Support date time 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.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.