Working with TypeScript & SharePoint 2013

Skip the blog and jump to code here I am about to develop a new application on SharePoint 2013 and it's been a while I have not worked on 2013 platform. The application will essentially have a bunch of client side web-parts using Content Editor Webpart of SharePoint 2013. I have been working on Typescript … Continue reading Working with TypeScript & SharePoint 2013

SharePoint Online Set a site collection as Read Only

There are many different business scenarios when we want to set a SharePoint site collection as read-only mode (as shown in above screenshot) to prevent any further addition/modification of content but simultaneously to make the existing content available to the users. In SharePoint on-premise, this was primarily done via central administration or using powershell. But … Continue reading SharePoint Online Set a site collection as Read Only

Make your SharePoint sites responsive without custom master page

One of the common things in most of the applications build on SharePoint is to have a custom master page. The custom master page is build mainly to apply the branding of the company/ product and to have a good responsive design.But since the formation  of PnP community and SharePoint 2016 announcement things are going to … Continue reading Make your SharePoint sites responsive without custom master page

Console application for SAML authenticated SharePoint 2013 sites

One of the trickiest thing I came across last couple of days is to run my console application using CSOM  to connect to a SAML Authenticated SharePoint site. In my case the authentication provider was CA SiteMinder.  There are many techniques to connect to SAML authenticated sites using CSOM. Below are some of them which … Continue reading Console application for SAML authenticated SharePoint 2013 sites

Limitation of OOTB “E-mail Users” functionality in SharePoint group- Too many e-mail addresses were selected

SharePoint provides OOTB functionality to email selected users from any SharePoint Group. You can go to any SharePoint group and select the users and click Actions -- > Email Users. Limitation: The email users functionality will not work , if you select large number of users .It will show a message "Too many e-mail addresses … Continue reading Limitation of OOTB “E-mail Users” functionality in SharePoint group- Too many e-mail addresses were selected

SharePoint 2013 – Update/Clear Taxonomy Field Value using C# CSOM

This post will detail you with sample code snippet to update and clear value of a  taxonomy field of a list item. Update value to Taxonomy Field: public void UpdateTaxonomyField(ClientContext ctx, List list,ListItem listItem,string fieldName,string fieldValue) { Field field = list.Fields.GetByInternalNameOrTitle(fieldName); TaxonomyField txField = clientContext.CastTo<TaxonomyField>(field); TaxonomyFieldValue termValue = new TaxonomyFieldValue(); string[] term = fieldValue.Split('|'); termValue.Label = term[0]; termValue.TermGuid … Continue reading SharePoint 2013 – Update/Clear Taxonomy Field Value using C# CSOM

Change Permission of a SharePoint Group using Javascript CSOM

Everything (ideal scenario) in SharePoint is now an App. SharePoint hosted Apps uses JavaScript Object Model (JSOM).So now  developers have to code more on JavaScript and learn more about doing even administrative tasks using JavaScript. In this blog i will detail one such administration task- Changing the permission of any SharePoint group. Below is a sample code … Continue reading Change Permission of a SharePoint Group using Javascript CSOM