This SharePoint extension or webpart enables a user to enter a keyword, e.g. "How do you feel today?". By using keywords, users can re-use terms entered previously by anyone. The keyword is stored in a minimalistic list with keywords enabled.
The label is the displayname of the "Enterprise Keyword" colummn. The hint text is the description. To chnage those:
- open the list settings
- Click on the column "Enterprise Keywords"
- Change the column name, e.g. "Feedback", this is the display value shown to the user, the internal name will remain intakt
- Change the description, e.g. "How do you feel?" or "On your mind?"
You can use the "Minimal path to awesomeness" to have look around. Please branch before contributing. You can follow the "Create a new project" to start with a copy of this a starting point for a new project (usually app)
You should have the following installed:
- Visual Studio Code (or similar)
- Node 14
- yarn
- git
- GitExtension (the program, if your contributing or forking a new project of this)
yarn global add lerna
git clone --recurse-submodules https://github.com/mauriora/Keyword-Feedback-Solution.git
cd webpart-keyword-feedback
lerna bootstrap
yarn build-shared
yarn serve-webpart
and:
- browse to the workbench on YOUR-SITE
- add the webpart to the page
- edit app/Keyword-Feedback-Extension/config/serve.json
- run:
yarn serve-extension
- In a solution terminal execute
yarn workspace @mauriora/webpart-example serve
- browse to the sharepoint app store on YOUR-TENANT
- Click Upload
- Click Choose files
- Navigate to YOUR-SOLUTION/apps/YOUR-PROJECT/sharepoint/solution
- Select YOUR-PROJECT.sppkg and click Open
- Add a comment and click OK
- Wait for the upload to finish and a dialog to open
- If you want the webpart to be available on all sites without installing, tick Make this solution available to all sites in the organization, otherwise it needs to be installed on each site using
- Click Deploy
- grant API permissions in Sharepoint Admin Center: Advanced / API access
- If not installed tenant wide, go to each site you wnat the webpart on
- Go to Site Content
- Click + New -> App
- Find YOUR-APP and click on it
- Wait until it's installed
- Create a page and add YOUR-WEBPART
Use the minmal path to awesomeness and please create a branch for your contribution. Then do a pull request to merge your branch into the main branch.