Pages

Thursday, May 14, 2015

Web Designer Galleries section is missing on SharePoint Online

Problem

Recently I had to create a trial Office 365 account for a demo purposes. But there are some sections such as “Web Designer Galleries”, “HTML Field Security”, “SharePoint Designer Settings” (under Site Collection Administration section) were missing on the setting page of the SharePoint site.

Also I was not able to upload JavaScript file in my document libraries. 

So here are the steps for resolving the issue.

Solutions

Method 01

Step 01: Go to Admin panel

image

Step 02: Go to SharePoint admin center by selecting SharePoint from the left navigation

 001Step 03:  There go to the setting page

002Step 04: From there allow Custom Script

image

There is a  note saying “changes to this setting might take up to 24 hours to take effect.” So here is the power shell command to do that for immediate effect.

Method 02

Step 01: Open the SharePoint Management shell

Step 02: Type the below command to connect with SharePoint Admin Center in management shell. You have to replace your admin center url which is in line 1.

  1. $spadminurl = "https://suhailj-admin.sharepoint.com/"
  2. connect-sposervice -url $spadminurl

Step 03: You will be asked to enter user name and password.

image

Step 04: Enter the below commands. You have to mention your site collection url where you need the sections.

  1. $spsiteurl = "https://suhailj.sharepoint.com"
  2. Set-SPOsite $spsiteurl -DenyAddAndCustomizePages 0

 

Conclusion

Immediately you can see the web designer galleries in setting page; and I was able to upload JavaScript files in my document libraries.

image

2 comments: