sp-dev-fx-webparts/samples/react-advanced-page-properties/README.md

74 lines
2.2 KiB
Markdown
Raw Normal View History

# Advanced Page Properties
## Summary
Attempts to replicate the functionality of Page Properties with the following improvements:
- Support for theme variants
- Updated to standard capsule look for list options
- Support for image fields
- Support for hyperlink fields
- Support for currency
- Improved support for dates
2021-04-04 23:23:35 -04:00
![see the difference](./assets/diff-screencap.png)
2021-04-04 23:23:35 -04:00
## Compatibility
![SPFx 1.11](https://img.shields.io/badge/SPFx-1.11.0-green.svg)
![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-green.svg)
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
![Teams N/A: Untested with Microsoft Teams](https://img.shields.io/badge/Teams-N%2FA-lightgrey.svg "Untested with Microsoft Teams")
![Workbench Hosted: Does not work with local workbench](https://img.shields.io/badge/Workbench-Hosted-yellow.svg "Does not work with local workbench")
## Applies to
- [SharePoint Framework](https://aka.ms/spfx)
- [Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)
## Prerequisites
2021-04-04 23:23:35 -04:00
None
## Solution
Solution|Author(s)
--------|---------
src/react-advanced-page-properties | [Mike Homol](https://homol.work), Principal Consultant, [ThreeWill](https://threewill.com/)
2021-09-22 17:37:51 -04:00
react-advanced-page-properties | Abderahman Moujahid
## Version history
Version|Date|Comments
-------|----|--------
2021-09-22 17:37:51 -04:00
1.0.0|March 30, 2021|Initial release
1.0.1|September 22, 2021|Added support for multi-language sites
## Minimal Path to Awesome
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
- **npm install**
- **gulp serve**
## Features
2021-09-23 02:13:23 -04:00
### Add the part
Once the solution is installed in the app catalog and the app has been added to the site, you should see it available to a page.
2021-04-04 23:23:35 -04:00
![add the part](./assets/add-to-page.png)
2021-09-23 02:13:23 -04:00
### Familiarity is key
This web part tries to mimic the original Page Properties web part as much as possible. You should recognize the functionality of the property setup.
Basically add and remove properties until you are satisfied and you're good to go!
2021-04-04 23:23:35 -04:00
![configure the part](./assets/props.gif)