Select Page

How to detach HTML file from Master Page

Useful tip I discovered when making a copy of the Seattle master page for later customization.
Sometimes, permissions, file renaming, etc. doesn’t work as planned if things are setup properly then you’re left with files you can’t get rid of until you do this:
Edit the properties of the HTML file and unclick the “Associated File” setting. If it doesn’t work the first time, click it on, save, then unclick it and save again.

Found here: https://social.technet.microsoft.com/Forums/en-US/52269058-a52b-40d8-b8b3-08f0a9972c58/how-to-detach-html-file-from-master-page?forum=sharepointgeneral

Enable Customization of Master Pages in SharePoint Online

Found this particularly useful today while experimenting with SharePoint Online and trying to customize a master page.

First must download and enable the SharePoint Online Management Shell.
Connect to your site like so:
Connect-SPOService -Url https://yoursite-admin.sharepoint.com -credential username@yoursite.onmicrosoft.com
Run this command:
Set-SPOSite https://yoursite.sharepoint.com -DenyAddAndCustomizePages 0

Source:
https://support.office.com/en-us/article/Allow-or-prevent-custom-script-1F2C515F-5D7E-448A-9FD7-835DA935584F?ui=en-US&rs=en-US&ad=US

Pin It on Pinterest