JSLink - Client Side Rendering in SharePoint 2013

In SharePoint 2010 and previous versions, to render a sharepoint field SPfield , you need to use XSLT. However in SharePoint 2013,things have changed very drastically which involves Client Side Rendering and hence increase the Performance of page Load.
  
Client Side Rendering in SP Field is made possible JSLink Property . The JSLInk property holds URL of the Javascript file which does the job of rending.You can assign JSLink to either SPField or the whole WebPart. 
 
In this blog, I will list down the steps to apply JSLink Property through Powershell.
  1.    
  2. $web = Get-SPWeb http://mysites  
  3. $field = $web.Fields["Status"]  
  4. $field.JSLink = "/_layouts/15/MakeitInteractive.js"  
  5. $field.Update($true
Happy SharePointing :-)
Ebook Download
View all
Learn
View all