Skip to main content


Showing posts from July, 2015

SharePoint online - Update timezone for a sitecollection via CSOM

Here is a snippet to update timezone for a site-collection via CSOM Web web = clientContext.Web; RegionalSettings webRegionalSettings = web.RegionalSettings; clientContext.Load(web); clientContext.Load(webRegionalSettings); Microsoft.SharePoint.Client.TimeZone currentTimeZone = webRegionalSettings.TimeZone; clientContext.Load(currentTimeZone); clientContext.ExecuteQuery(); //Get the current site TimeZone ConsoleLogger.LogMessage(LogLevel.Verbose, "Current TimeZone: " + currentTimeZone.Id + " - " + currentTimeZone.Description); //Get web timezones TimeZoneCollection webTimeZones = webRegionalSettings.TimeZones; clientContext.Load(webTimeZones); clientContext.ExecuteQuery(); // 76 (UTC+10:00) Canberra, Melbourne, Sydney Microsoft.SharePoint.Client.TimeZone newTimeZone = webTimeZo

SharePoint 2013 : Unique edit permissions not working

An error message "Server unable to process the request" is displayed when a user with unique permissions on a list tries to update a list item. This issue sometimes occurs in a Site Collection, however the exact error is unknown. A workaround is to create a permission level on the site collection which consists of the following: User remote interfaces (Use SOAP, Web DAV, or SharePoint Designer 2010 interfaces to access the Web site) Open(Open a Web site, list, or folder to access items inside that container). Assign this new permission level at site collection and site level to the users requiring unique permissions. The users will now be able to edit the list items.