SharePoint offers an OOB web part that you can use to list the recent documents for the current user. But what if you need the exact same information for a custom SharePoint Framework solution?
SharePoint offers an OOB web part to list of frequent sites for the current user. In this post, we are going to retrieve data from the same API
When creating SPFx solutions, you will sometimes require base64-encoded images. A common scenario is when you create a ListView Command Set extension . And then you look at Office UI Fabric Icons and think how nice it would be if you could easily get the images as base64-encoded strings. And today I found a great tool to do this!
Ever wondered how to add SharePoint Framework web parts from different solutions to your local workbench while developing on localhost? Then look no further
Some time ago, I published a blog post related to a web part that I use on the hosted workbench page while creating other web parts. I have this solution deployed on my dev tenant and simply add it to the bottom of the Workbench page to work around some things that get in the way when building the UI of SPFx web parts.
One of the classic SharePoint list types is the Discussion Board. It allows the creation of discussion topics that users can reply to. And users can also reply to previous replies, creating a thread-like scenario. Unfortunately, Discussion Boards currently only have a Flat view...until now
With SharePoint Framework, Microsoft also introduced a really good development story for creating custom web parts: the Workbench page. This page is not only available when you are developing solutions locally, but also on a SharePoint site. This gives you the option to access data on a SharePoint site from code running on your machine. Let's be honest, it's great! But it dies have some limitations...
There are plenty of solutions available online, from complete implementations to blog posts with the relevant code snippets, but I was also unable to find one that was able to track full and partial page loads, so I decided to tweak one to work on the required scenarios.
If you know me or follow me on Twitter/LinkedIn, you must have realized by now how much I like the PnPjs library. But this library will hopefully get even better soon by providing support for Project Online REST API!
The SPFx Workbench page is fantastic. You can use the local version to run your code locally, or you can use the online hosted version to test your code against your site. But it has some limitations.