Using JSLink as an alternative for Calculated columns

JSLink came with SharePoint 2013 but it was not used that much at the time because people are much more comfortable with farm/sandbox baased solutions and playing with XSLT was fun. But with rise in usage of SharePoint Online (office 365) it become one of the necessity one should know. JSLink is pretty smart or …

Continue reading ‘Using JSLink as an alternative for Calculated columns’ »

Hide fields from SharePoint List Forms

Some time we got the requirement to hide few fields from a SharePoint list form but do not want to remove them from the list, some list columns used in different content types and we cannot hide them through column properties. Most of the time we need this in task forms to hide or disable …

Continue reading ‘Hide fields from SharePoint List Forms’ »

SharePoint how to refer file URL in client side script

In SharePoint, sometime user finds it difficult to refer URL for any file in client side scripting languages like jQuery/javascript, so in this post I am sharing how to refer different level of sites using tilde (~). ~site: is used to refer to current site URL. ~sitecollection: is used to refer the current site collection …

Continue reading ‘SharePoint how to refer file URL in client side script’ »

Get Query String parameters using JavaScript

In SharePoint, we use custom client side script (jQuery) to load or submit content on a page, some time we also need to get few values from Query string. There are multiple ways of doing that, here I am going to share a function to which you just need to pass the query string field …

Continue reading ‘Get Query String parameters using JavaScript’ »