Show SharePoint Web Designer Galleries
A SharePoint Online tutorial by Peter Kalmström
SharePoint Web Designer Galleries
is where you manage all reusable components in a SharePoint
site collection, like data containers, templates, layouts
The galleries in the image below are by default visible
in SharePoint on-premises. They are also displayed in the
SharePoint Online Home site, and in classic Team sites and
modern Team sites without a group.
In the sites that users can create from the SharePoint start
page, only the two first galleries in the image below are
The reason for these differences is that scripting is not
allowed in the user created sites. It can however be allowed
with a PowerShell script.
(If you need a Group Team site with the full Web Designer
Galleries, there is an alternative: Create a classic Team
site from the SharePoint Admin center and then add a new
Microsoft 365 Group to it.)
In the demo below, Peter Kalmström, CEO and Systems Designer
of kalmstrom.com Business Solutions, shows how to allow
custom script in a modern site. You must be a SharePoint
administrator to perform the steps.
Set with a PowerShell script
you are used to PowerShell and already have installed the
SharePoint Online Management Shell and set up a connection
to your Office 365, you only have to perform steps 4 and
If are not used to PowerShell, there are some preparations
to do before you can run the script. Peter shows the steps,
and he also points to a
Refer to our
tips articles and the book
PowerShell with SharePoint from Scratch for more
detailed information on how to get started with PowerShell.
You need to:
- Run PowerShell ISE on your computer as an administrator.
- Set the execution policy.
- Install the SharePoint Online Management Shell,
either with the download link at the Microsoft page
or by running this script:
- Connect to the SharePoint Admin center. Peter stores
his credentials in a variable, so that he easily can
use it again.
- Run this script. Use the URL to the site where you
want to allow custom script.