Search This Blog

Thursday, June 11, 2015

SharePoint Group - Site Visitor (Read)

When a SharePoint site is created, by default 3 SharePoint groups are created

Site Owners - Full control
Site Members - Contribute
Site Visitors - Read

Below are the permissions you get when you are a Site Visitor (Read)

List Permissions

View Items - View items in lists and documents in document libraries.
Open Items - View the source of documents with server-side file handlers.
View Versions - View past versions of a list item or document.
Create Alerts - Create alerts.
View Application Pages - View forms, views, and application pages. Enumerate lists.

Site Permissions

View Pages - View pages in a Web site.
Browse User Information - View information about users of the Web site.
Use Remote Interfaces - Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site.
Use Client Integration Features - Use features which launch client applications. Without this permission, users will have to work on documents locally and upload their changes.

Open - Allows users to open a Web site, list, or folder in order to access items inside that container. 

Wednesday, June 10, 2015

Error on deleting folder in SharePoint 2010 - The file is currently checked out or locked for editing by another user

Issue Description

Today I ran into an issue with the deleting a folder in a SharePoint 2010 document library. The folder was empty (viewed with admin account too), but could not be deleted. On clicking the delete button I got an error message

"The file is currently checked out or locked for editing by another user."


I tried all possible ways to delete it (Explorer mode, Datasheet Mode, Power Shell), but failed to do so.

Fix
1. Browse to Document library settings -> Manage files which have no checked in version



2. On this page I found there was a file under the folder I was trying to delete and this file was checked out to a 
user. Check for the folder name under the Location column and confirm it.

3. Take ownership of the document and check in or publish a major version for the document.



4. Delete the folder now. This will work ;-)

Tuesday, June 2, 2015

How to Unlock a site collection manually

1. Browse to SharePoint Central Administration.

2. On the Central Administration page, under Application Management, click Configure quotas and locks.

3. On the Site Collection Quotas and Locks page, select the site collection where you want to place a lock

4. In the Site Lock Information section, select Not Locked.

5. Click OK.


How to Lock a site collection manually

1. Browse to SharePoint Central Administration.

2. On the Central Administration page, under Application Management, click Configure quotas and locks.

3. On the Site Collection Quotas and Locks page, select the site collection where you want to place a lock

4. In the Site Lock Information section, select Adding content prevented or No access.

5. If you lock a site collection with Adding content prevented or No access, you must type an explanation in the Additional lock information box.

6. Click OK.


Monday, June 1, 2015

SharePoint 2010 - How to check Site Collection Quota Usage

This article explains how to check the storage quota of a site collection.

Note: You must be a site collection administrator to have access to this information

1. Select Site Actions and then Site Settings

2. On the Site Settings page under the Site Actions heading, select Site Collection Web Analytics Reports

3. On the left navigation below Inventory, select Storage Usage under the Inventory heading to view current and historical information about your storage quota and usage.

Note: Files in the recycle bin are included in the site usage. You must empty the recycle bin to free up that space. 



Friday, May 1, 2015

Powershell to list Content Database details for SharePoint Site Collection

Get the Content Database details for SharePoint Site Collection

Get-SPContentDatabase -Site 'http://sharepointsitecollectionurl/'


Id               : xxx1404-b716-xxxx-ba76-9746xxxx                                                                  
Name             : xxx                                                                                                       
WebApplication   : xxx                                                                                                                
Server           :           xxx                                                                                                       CurrentSiteCount : 1

Powershell to list all SharePoint Site Collections and subsites a web application

Get list of SharePoint Site Collections and SubSites

Get-SPSite 'http://sharepointwebapplicationurl/' | Get-SPWeb -Limit All
Propellerads