-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…