2021-03-30 15:12:55 -04:00
|
|
|
# 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-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
|
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")
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
## 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
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
## Solution
|
|
|
|
|
|
|
|
Solution|Author(s)
|
|
|
|
--------|---------
|
2021-03-30 15:22:41 -04:00
|
|
|
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
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
## 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
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
## 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
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
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-03-30 15:12:55 -04:00
|
|
|
|
2021-09-23 02:13:23 -04:00
|
|
|
### Familiarity is key
|
2021-03-30 15:12:55 -04:00
|
|
|
|
|
|
|
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)
|
2021-03-30 15:12:55 -04:00
|
|
|
|