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

Working with Geo Location Fields in SharePoint 2013

One of the new features in SharePoint 2013 is the new Geo Location field Type.Using this new capability, you can display locations by specifying the latitude and longitude of the location , also display the location in Bing maps (All these Out of the box !) . See below the screenshot of the Geo location column … Continue reading Working with Geo Location Fields in SharePoint 2013

SharePoint 2013 Anonymous Site User Display Name

Strange things are no stranger to SharePoint !!. I am writing this post after banging my head for few hours trying to fix some strange behaviour in one of my SharePoint anonymous sites. The Problem: In one of my anonymous sites all the new users who visit the site after signing in was shown their … Continue reading SharePoint 2013 Anonymous Site User Display Name

SharePoint 2013 Search Query (KQL) fails for DateTime properties

Recently I faced with this weird issue when one of my customers reported an issue in one of content search web part. For that user the content search web part would throw the below error: Interestingly this issue was not reproducible in my machine and so I started checking the logs and found the below … Continue reading SharePoint 2013 Search Query (KQL) fails for DateTime properties

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