No-code modern SharePoint site redirect

News link

In classic SharePoint sites, it was possible to redirect users to a different site using a few different approaches. But modern SharePoint sites are more restrictive (for good) and offer different features that require different approaches. Fortunately, if you need to redirect users when they try to access the homepage of a specific site, this can be easily achieved using a simple no-code solution.

SPFx and modern SharePoint search page for searching the current location

Modern SharePoint sites on standard release will soon receive an update to add a search box to the top Office 365 bar. This allows you to search by default in the current location, like a site or a document library. You can then configure the site to redirect user's search queries to a custom search page and you can use the amazing PnP Modern Search web parts to create a great search experience. But what if you want to pass the context of the current location to the custom search page and keep searching only on that location by default?

Update metadata on SharePoint documents and folders

If you have SharePoint managed metadata terms being used in document libraries and you decide to rename the label of a term, you can easily do so in the term store and wait for the change to propagate to your documents. But what if you want to update all documents that use a specific term to a different term that already exists? The following script will to the job for you.

Send items to second-stage SharePoint recycle bin

SharePoint recycle bin

When a document or folder is deleted in SharePoint, it goes to the first-stage (site) recycle bin. After some time, it is moved to the second-stage recycle bin where it stays for another period before being completely deleted. If you are running a script to delete a very large number of documents, you may consider sending the items straight to the second-level recycle bin. This will prevent "flooding" the first-stage recycle bin with items, which would make the recycle bin hard to use for manually restoring deleted items.