sp-dev-fx-webparts/samples/react-enhanced-page-properties
AriGunawan d352359765 Merge branch 'main' into feature/upgrade_version 2024-08-10 17:45:01 +07:00
..
.devcontainer Updated readme, nvmrc, devcontainer and sample 2023-11-18 22:58:41 -05:00
assets Added web part to every sample 2024-04-18 01:51:29 -04:00
config Update app version 2024-08-10 17:38:39 +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, nvmrc, devcontainer and sample 2023-11-18 22:58:41 -05:00
.yo-rc.json Update version 2024-08-10 17:33:35 +07:00
README.md Merge branch 'main' into feature/upgrade_version 2024-08-10 17:45:01 +07:00
gulpfile.js Add fast-serve 2023-07-28 22:41:24 +07:00
package-lock.json Update version 2024-08-10 17:33:35 +07:00
package.json Update version 2024-08-10 17:33:35 +07:00
pnpm-lock.yaml Bump follow-redirects in /samples/react-enhanced-page-properties 2024-03-16 23:01:26 +00:00
tsconfig.json Upgrade SPFx version to 1.18 2023-10-29 09:37:46 +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 (should enable multiple choices)
  • 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.19.0 Node.js v18 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.3 August 10, 2024 Upgrade SPFx version to 1.19
1.2 October 29, 2023 Upgrade SPFx version to 1.18
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.