Office365 · sharepoint 2013 · SharePoint 2016 · sharepoint online

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

sharepoint 2013

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

authentication · SAML · sharepoint 2013 · SharePoint2013 · Single Sign On · SiteMinder · Uncategorized

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

SharePoint · Sharepoint 2010 · sharepoint 2013 · Uncategorized

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

csom · sharepoint 2013

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

apps · csom · javascript · sharepoint 2013 · SharePoint-Hosted-App

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

display template · refiner · search · sharepoint 2013

Custom Date time refiner template for SharePoint 2013

SharePoint 2013 OOTB display options for DateTime refiners are very limited. By default there are four  display options available for DateTime refiners: But these refinement options are often not suitable as the range for each refinement value is too big and there is no option to refine the results between 2 specific dates. So let's see how we… Continue reading Custom Date time refiner template for SharePoint 2013