Start a conversation

How to set your site to read-only mode? - Troubleshooting Article

Overview

You may want to set your site/stream to read-only.

Workflow

mceclip0.png

Archive Community option

In the Administration guide Page 166, there is the Archive Community option, which will make your site read-only:inline-2142730754.png

Limiting Microblog and Question posting to Admins

In the Administration guide page 133, you can find Limiting Microblog and Question posting to Admins:

inline-1325820390.png

Manual Method

If none of the 2 methods above attends to your needs, try this third "manual" method, which implies the use of PowerShell and the SQL server:

1. Run the following PowerShell command:

$web = get-spweb "yoursiteurlhere"

$web.AllProperties["ng-community-membersreadonly"] = "False"

$web.update()

 

2. Then in the SQL server:

update dbo.SocialGroup

set MemberReadOnly = 1

where SiteId = '<site ID here>';

 

3. Update statement example:
update dbo.SocialGroup

set MemberReadOnly = 1

where SiteId = '98658D5E-A924-447A-B6C2-53DA7FBB84EE';

Setting WebPart to Read-Only

If the issue is not the entire site but is a WebPart not becoming Read-Only even after performing the 3 methods proposed. Then please follow the steps in the article Setting WebPart to Read-Only.

Administration_Guide.pdf

  1. 16550 KB
  2. View
  3. Download
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted 19 days ago
  3. Updated 4 days ago

Comments