Forum Discussion
BravoJuliet
Dec 20, 2022Copper Contributor
I have been building a knowledgebase site in sharepoint at the moment. There are some nice pnp webparts that one can build for building page indexes. They fill a bit of a gap for building a knowledgebase within SPO. Not a true wiki as mentioned above but it's probably as good as you'll get it in SPO without some more specific custom development.
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-page-navigator
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pages-hierarchy
A bit of a learning curve on building these packages but I'm no developer and I managed to get it working.
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-page-navigator
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pages-hierarchy
A bit of a learning curve on building these packages but I'm no developer and I managed to get it working.
- XabiBeltzaDec 21, 2022Copper ContributorThanks BravoJuliet! This is very close to what we need. I just wished this was part of native functionality:
- A property for parent folder
- A hierarchical navigation tree- BravoJulietDec 21, 2022Copper ContributorYeah, the pages hierarchy webpart has a navigation tree structure layout now as well (not shown in that animated gif).
You just specify the ID of the page for the top of the hierarchy and it builds the tree down from that start point.
So just need to create the parent landing pages, build page templates for each parent category and the hierarchy/breadcrumbs are all dynamically generated. Makes a huge difference and was the one thing imo that SPO lacks to make KBs actually usable. As you say, I don't know why this isn't native functionality.
Full credit to the devs on github for those two webparts. There's some amazing work over there on the PNP github.