What is traffic decoration and how you can use it to best avoid throttling in SharePoint online

SharePoint online uses throttling at different levels to ensure reliability & meet performance requirements the SharePoint online service. Throttling is a means by which any over use of resources is disallowed by SharePoint whenever a script or code gets executes. As the infrastructure for the Office365 is maintained by Microsoft this becomes inevitable to ensure... Continue Reading →


Read or Update Content Approval Status Column or Moderation Column using SharePoint Client Side Object Model(CSOM)

Most often you don't come across this requirement of updating the content approval status column. Below is the scenario I had. I had a list containing video items.  This has the content approval functionality enabled. On approval this column gets updated to approved. Approved items are displayed in search results. Opening an item displays a... Continue Reading →

Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site. – SharePoint 2013

When you try creating a SharePoint 2013 App project in a SharePoint hosted model and when you try to deploy the solution, you get an error "Error occurred in deployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site." One thing you should remember is, Always the app should be... Continue Reading →

Convert XMLElement to DataTable

Below is the code to convert an XMLElement object containing values to a DataTable. The XMLElement tag names will be the column headings in the DataTable. public DataTable ConvertXmlElementToDataTable(XmlElement xmlElement, string tagName) { XmlNodeList xmlNodeList = xmlElement.GetElementsByTagName(tagName); DataTable dt = new DataTable(); int TempColumn = 0; foreach (XmlNode node in xmlNodeList.Item(0).ChildNodes) { TempColumn++; DataColumn dc... Continue Reading →

Get the users and group details having permissions on a list/listitem using RoleAssignments

This post explains how you can fins the list of users who are having permissions to a particular list or a list item. Also in case if a group is directly assigned permissions we can loop through the group to find each users of that group too. We can access the permission details of a... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: