How to Change Default Site Collection Lock Message in SharePoint 2013?

Hi SharePointers.

Let us say that your sharepoint administrator has put your sharepoint site to readonly message, you will get the message ‘This site is read only at the farm administrator’s request” at the top of the page. If you want to change this message to the customized one, you can do it with the help of below changes in Master Page.

You need to add the below code in the SharePoint master page using designer 2013.

<script type=”text/javascript”>

window.onload = function () {document.getElementById(“status_preview_body”).innerHTML= “Your customized message”;};

</script>

Note : you to need to unlock your sitecollection before making these changes.

Happy SharePointing  Folks:-)

Leave a Reply

Your email address will not be published.