A client recently asked me to create an advanced version of the default “Copy to” and “Move to” SharePoint capabilities available on every document library. This blog post will cover the main decisions, challenges, and tools that I used to achieve this.
After our client went live with a new SharePoint site to be used as the main “landing page” for the company, they started receiving some feedback from end users. I created some custom SPFx web parts and extensions for the site, so was expecting some feedback on my work. Instead, the most common feature that users were providing feedback on was the out-of-the-box “Copy to” and “Move to”.
Continue reading “SharePoint SPFx extension – Advanced copy and move”
The latest release of PnPjs contains 4 new methods. They allow you to copy and move, files and folders, to a different folder on the same or a different site collection. And they are incredibly fast!
Continue reading “Copy and move SharePoint documents/folders using PnPjs”
On the 1st of September, I opened my inbox and found a very pleasant surprise. I had received the Microsoft MVP for Office Development award!
This post covers some of the things that led to the MVP award and also some personal thoughts about the MVP award program. Please note that this is only my own opinion, I don’t know the award criteria. Hope you find the post interesting.
Continue reading “My path to receive the Microsoft MVP award”
This is just one of those blog posts where there is no “rocket science” if you use the right tools. And the reason why I’m writing it is to just show how easy it is. All it takes is one line of PowerShell to copy all terms in a term set to the clipboard.
Continue reading “Copy all SharePoint terms in a term set to clipboard”
Of course there is a lot of “rocket science” here. But it’s inside PnP PowerShell and we don’t need to worry about it!
Some time ago, modern SharePoint sites received a new feature: modern Document Sets. In order to enable and use this feature, “all” you have to do is enable the “Document Sets” feature under Site Collection Features. Then simply add the relevant content type to a library and you can start using them.
Continue reading “Enable modern document sets programmatically”
Well…perhaps not so simple if you try to do this programmatically.
Did you ever wanted to quickly delete all items from a SharePoint list without having to run into complex scenarios?
Continue reading “Delete all SharePoint list items with PowerShell”
This can be simply achieved using PnP Powershell (obviously!). And it fits in a single line!
Similar to my last post Get list of frequent sites in SharePoint , this time I’m using the same approach to query a different API and get the recent documents for the current user.
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?
Continue reading “Get list of recent documents in SharePoint”
SharePoint offers an OOB web part that you can use to list the frequent sites for the current user. But what if you need the exact same information for a custom SharePoint Framework solution?
I have also written a similar blog post on how to retrieve recent documents for the current user. You can read more here.
Continue reading “Get list of frequent sites in SharePoint”
A few days ago, I was trying to set some managed metadata fields in a SharePoint library using the Set-PnPListItem command – which is greatly documented.
Continue reading “Setting managed metadata fields using PnP PowerShell”
But having worked with SharePoint for quite a few years, I immediately noticed that the examples in documentation for managed metadata fields did not contain the exception case for terms with the ‘&’ character in the label. I had to deal with this case multiple times before, so writing this blog post to hopefully save some time in the future.
Ever wondered how to add SharePoint Framework web parts from different solutions to your local workbench while developing on localhost? Then look no further 🙂
Even though this may not be a common requirement for everyone, there are cases where it could be handy to have different web parts running on the local workbench that belong to different solutions.
Continue reading “SPFx web parts from different solutions on workbench”