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!
When trying to edit the Featured links on the default SharePoint home page, you may end up getting an error...
The Microsoft Graph endpoints for Teams are not something new. You can easily find online multiple blog posts containing sample requests on how to retrieve the teams that a user is a member of. Instead, in this blog post, I will share some code blocks that I used to accomplish this on a SharePoint Framework project.
Imagine the following scenario: A user syncs a SharePoint document library using OneDrive so that he can have a copy of the documents on his machine. When he doesn't need them anymore, he deletes the documents from the machine (which is a sensible approach). OneDrive syncs the changes and deletes the documents in the SharePoint library. User notices that the documents were deleted, opens the recycle bin and restores them. One Drive syncs all the documents back to the SharePoint library and all is good again. NOT!
The PnP TaxonomyPicker reusable control doesn't have a property to let you mark the input control as a required field on a form, but fortunately this can be easily addressed.
SPFx is suddenly not an option and you feel sad because you need to go back to write plain JS? You don't have to and you really shouldn't. Spend just a few minutes and you can do it in Typescript instead!
I have created a simple PowerShell script using PnP PowerShell that reads information from a CSV. The script starts by uploading and deploying all the apps to the SharePoint app catalog. Once this step is completed, it then connects to the target site and installs the apps.