How to hide SharePoint search box conditionally

SharePoint search box is in the suite bar at the top of every page and Microsoft allows site collection administrators to hide it using PowerShell. While this method is suitable for most scenarios it does not allow to hide the search box conditionally for certain pages or for all pages with the exception of Lists and Libraries.

In this blog post I’ll explain how to hide the search box using the official method provided by Microsoft and two workarounds to hide the search box conditionally so you can overcome the limitations of the out of the box settings.

Hide SharePoint Search box conditionally

(more…)

How to host static HTML sites on modern SharePoint site collections

SharePoint can be used as a web server to host sites in your organization that are not connected to SharePoint directly, however with the modern experience this is blocked by default.

In this article I’ll explain you how to bring back this awesome functionality to modern Communication and Team sites.

Host static sites modern SharePoint

(more…)

How to build a weather web part for SharePoint using a list view formatting

Modern SharePoint has a built-in weather web part but unfortunately it does not allow customizations displaying just the weather in black and white.

I was looking for a solution with a bit more color and similar with the weather tile from Windows, so I decided to build my own using a custom SharePoint list, a custom view formatting, Power Automate and the out of the box lists web part.

SharePoint weather web part

(more…)

How to update SPFx Yeoman generator to the latest version

The evolution of SPFx is stunning and each version adds new features that make the life of all of us easier when we think about extending SharePoint or even Microsoft Teams.

If you have SPFx already installed and are thinking about to start a new project using the latest version of the framework first, you must check if the latest version of the generator is installed on your system.

The process to update SPFx is straightforward and only requires 3 simple steps as explained in this article.

Update SPFx generator

(more…)

Collabdays Lisbon 2020 – Learn the latest and greatest about SharePoint

SharePoint Saturday Lisbon has been rebranded and it is now Collabdays Lisbon. Don’t worry, it is still organized by the same people and maintains the same spirit as in previous years.

Collabdays Lisbon is a non-profit, community-driven event dedicated all that is great about SharePoint, Office 365 and Azure. It will be a one-day free virtual event on October 10th, 2020.

(more…)

How to create an index for SharePoint Spaces using the content query web part

SharePoint Spaces are great and allow you to display data like never before however they are just regular pages and there is no place where you can get a central view of all the spaces you have created.

As part of the Library series of articles I’ve been doing (you can read more about it here and here) in this one I’ll show you how to build an index to display SharePoint Spaces using the content query web part.

The content query web part is an open source project included in the PnP initiative and it just got updated to make use of the latest version of the SharePoint Framework.

sharepoint spaces index

(more…)

Create SharePoint Spaces templates using PnP PowerShell

After a few days exploring SharePoint Spaces I felt the necessity to get a pre-built template instead of starting from scratch every time.

Since SharePoint Spaces are created in the Site Pages library and each component is a web part I’ve tried to create my own template using PnP PowerShell and it worked perfectly.

I’ve built a space to display my magazines, and I want to replicate it to display books and other files I have in my library.

(more…)

How to use jQuery with SPFx projects

jQuery is a JavaScript library that helped to shape the internet we all know today, even though it’s first release was 13 years ago and despite the fact we now have access to other powerful libraries like React and Angular, jQuery is still used by 80% of the top 1M sites in the web.

With SharePoint framework you can use pretty much any JavaScript library to build your application however you will need to know how to make them available in the solution.

In this article I’ll explain you how to add jQuery to your SPFx solutions using 2 different methods.

SPFx jQuery

(more…)

How to change the page layout on a modern SharePoint page

Modern SharePoint pages can be configured with three different page layouts but unfortunately, until now there is not an option in the UI to change them.

This article describes four different approaches that you can use to change the page layout and explains what you will get with each one.

(more…)

Save a modern SharePoint list as a template

Save list as a template is one of the features that I miss the most on modern SharePoint, it was very handy to copy list definition and even to migrate lists with its content.

This functionality is not completely gone and with a few workarounds it’s still possible to bring it back however it’s not recommended to follow this path.

On this article I’ll explain you how to save a list as template on a communication or modern team site including lists with data.

Save a SharePoint list as a template

(more…)


I've been working with Microsoft Technologies over the last ten years, mainly focused on creating collaboration and productivity solutions that drive the adoption of Microsoft Modern Workplace.