SlideShare a Scribd company logo
SharePoint Saturday Gulf 
#SPSGulf 
Client Side Rendering in SharePoint 2013 
(DeepDive) 
Muawiyah Shannak 
Our Sponsors:
Twitter: @MuShannak 
Blog: mushannak.blogspot.ae 
LinkedIn: linkedin.com/in/shannak 
Slideshare: slideshare.net/MuawiyahShannak 
Website: mushannak-public.sharepoint.com 
Muawiyah Shannak 
SharePoint Architect, MCC & UAE-SPUG 
Leaders
Agenda 
• Introduction 
• CSR Model 
• Advantages 
• Building CSR Template
OOTB List forms and views
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
Customize SP 2013 forms & views
What is Client-side rendering (CSR) 
Client-side rendering enables you to customize UI components by 
using JavaScript on the client as opposed to on the server.
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
Server Side Render 
Request 
HTML 
Content DB 
Server 
Processing 
Browser
Client Side Render (CSR) 
Request 
JSON 
Browser 
Content DB 
Server 
Processing 
JSON to HTML
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
CSR advantages over other options 
Single field, entire view or form 
Rendering is performed on the client 
side. 
Web developers will already be 
familiar with JavaScript 
Consistency with SharePoint OOTB 
views and forms
Build and Use CSR Template
Build CSR Template 
Field 
(internal 
name) 
Display 
mode 
Function return 
string (html) 
value
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
Where we can use CSR Templates 
Override fields render in 
display, edit and new 
forms. 
Display Templates 
• Fields 
• Items 
• Body 
• Group 
• View 
• Header 
• Footer
CSR & List Views
CSR Item Template
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
CSR & Forms
OnPreRender and OnPostRender 
: The JavaScript event handler for the event that 
occurs immediately before the field is rendered to its containing 
place. Useful usage scenario: request more dilated data 
: The JavaScript event handler for the event that 
occurs immediately after complete the field HTML render. Useful 
usage scenario: applying JQuery UI transformation
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
Link CSR files
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
Samples 
http://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a
Our Sponsors: 
SharePoint Saturday Gulf 
#SPSGulf 
Thank You!

More Related Content

Viewers also liked (20)

PPTX
How to Improve the SharePoint UI Using Bootstrap 3
Ryan McIntyre
 
PPTX
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Wendy Neal
 
PPTX
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
Chris O'Brien
 
PPTX
Transform SharePoint List Forms with HTML and CSS
John Calvert
 
PPTX
Enhance SharePoint 2013 with Responsive Web Design
Eric Overfield
 
PDF
Build Killer Visuals with SharePoint 2013 Search & Display Templates
Benjamin Niaulin
 
PPTX
SharePoint 2013 Client Side Rendering
Bill Wolff
 
PPTX
SharePoint and the User Interface with JavaScript
Regroove
 
PPTX
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien
 
PPTX
Whats new in search in SharePoint 2013
Michal Pisarek
 
PPTX
Trends in Designing Portals for #SharePoint 2013 #SPC14 #SPC2013
Kanwal Khipple
 
PPTX
Get started developing apps for SharePoint 2013
Muawiyah Shannak
 
PPTX
Developing Apps for SharePoint 2013
SPC Adriatics
 
PPTX
Introduction to SharePoint 2013 Apps
Rushi Waghmare
 
PDF
Apps for SharePoint 2013
Alex Pop
 
PPTX
SPS Québec - Votre intranet "Client-Side" en SharePoint Online/O365 avec PnP,...
Franck Cornu
 
PDF
Cross Site Publishing Solution for corporate news in SP 2013
Franck Cornu
 
PPTX
Integrating SharePoint with Exchange-2013
Randy Williams
 
PPTX
Gouvernance des projets SharePoint 2013
Alexandre David
 
PPTX
Share point 2013 - Javascript Object Model
Muawiyah Shannak
 
How to Improve the SharePoint UI Using Bootstrap 3
Ryan McIntyre
 
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Wendy Neal
 
Customizing the SharePoint 2013 user interface with JavaScript - Chris OBrien
Chris O'Brien
 
Transform SharePoint List Forms with HTML and CSS
John Calvert
 
Enhance SharePoint 2013 with Responsive Web Design
Eric Overfield
 
Build Killer Visuals with SharePoint 2013 Search & Display Templates
Benjamin Niaulin
 
SharePoint 2013 Client Side Rendering
Bill Wolff
 
SharePoint and the User Interface with JavaScript
Regroove
 
Chris O'Brien - Intro to Power BI for Office 365 devs (March 2017)
Chris O'Brien
 
Whats new in search in SharePoint 2013
Michal Pisarek
 
Trends in Designing Portals for #SharePoint 2013 #SPC14 #SPC2013
Kanwal Khipple
 
Get started developing apps for SharePoint 2013
Muawiyah Shannak
 
Developing Apps for SharePoint 2013
SPC Adriatics
 
Introduction to SharePoint 2013 Apps
Rushi Waghmare
 
Apps for SharePoint 2013
Alex Pop
 
SPS Québec - Votre intranet "Client-Side" en SharePoint Online/O365 avec PnP,...
Franck Cornu
 
Cross Site Publishing Solution for corporate news in SP 2013
Franck Cornu
 
Integrating SharePoint with Exchange-2013
Randy Williams
 
Gouvernance des projets SharePoint 2013
Alexandre David
 
Share point 2013 - Javascript Object Model
Muawiyah Shannak
 

Similar to SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates (7)

PPTX
O365 Saturday - Deepdive SharePoint Client Side Rendering
Riwut Libinuko
 
PPTX
iCSR simplifies SharePoint CSR development
ViewMaster365.com
 
PDF
Client-side Rendering Vs. Server-side Rendering Vs. Pre-Rendering for Web App...
Katy Slemon
 
PPTX
SharePoint Saturday bmore2015
Bhakthi Liyanage
 
PDF
Why Use Server Side Rendering To Boost Performance and User Experience?
TOPS Infosolutions
 
PPTX
Server VS Client side rendering IN React JS
React Masters
 
PDF
Advantages of Server-side Rendering (SSR) in Vue.js Development
AddWeb Solution Pvt. Ltd.
 
O365 Saturday - Deepdive SharePoint Client Side Rendering
Riwut Libinuko
 
iCSR simplifies SharePoint CSR development
ViewMaster365.com
 
Client-side Rendering Vs. Server-side Rendering Vs. Pre-Rendering for Web App...
Katy Slemon
 
SharePoint Saturday bmore2015
Bhakthi Liyanage
 
Why Use Server Side Rendering To Boost Performance and User Experience?
TOPS Infosolutions
 
Server VS Client side rendering IN React JS
React Masters
 
Advantages of Server-side Rendering (SSR) in Vue.js Development
AddWeb Solution Pvt. Ltd.
 
Ad

Recently uploaded (20)

PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
July Patch Tuesday
Ivanti
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
July Patch Tuesday
Ivanti
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Ad

SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates

Editor's Notes

  • #2: My name is Muawiyah Shannak, I’m a SharePoint Architect and one of UAE-SPUG Leaders
  • #7: In these slides we provides information about new technology (CSR) to learn you how to customize the way users interact with list data, and how to develop solutions that change the way data is rendered.
  • #10: XSLT:Extensible Stylesheet Language TransformationsXSLT is hard to develop/debugXSLT isn't everyone's first choice languageAsp.net Web part and pagesCustom field definition: Lots of moving parts (XML files and classes) and complexity
  • #12: Go to Site contentAdd an App form Apps Store
  • #13: RequestRetrieve item(s) from databaseBind item(s) to ASP.NET Control(s)Return rendered HTML
  • #14: RequestRetrieve items from the SQL databaseReturn the item(s) as JSON variable inside the pageCall JavaScript rendering function when document be readyClienttemplte.js have functionality to render the list item(s)Custom JSLink templates override the OOTB templates
  • #15: Go to Site contentAdd an App form Apps Store
  • #16: Performance: because the rendering is performed on the client side, not the server, pages can load faster and work on the server is minimized. Flexibility: you can perform customizations on a single field or an entire view using either your own JavaScript functions or libraries such as jQuery.Standard development language (Cross-platform language): most Web developers will already be familiar with JavaScript, resulting in reduced development time for your customizations.Consistency: with SharePoint OOTB views and forms.
  • #18: Initialize the variable that store the objectThe Templates.Fields property enables you to access individual list fields.The function is changing the Description item to be bold. The RegisterTemplateOverrides function call registers the templates for the list to use.Learn “<#=ctx.ListTitle#>”
  • #19: UseClient-Side Rendering to Customize the Default List View~site/Style Library/CSR/FirstDemo.js
  • #20: Full Page: RequiredApp Parts and Custom Actions: OptionalCustom Action also known as “UI command extensions”
  • #21: UseClient-Side Rendering to Customize the Default List View~site/Style Library/CSR/FirstDemo.js
  • #23: Full Page: RequiredApp Parts and Custom Actions: OptionalCustom Action also known as “UI command extensions”
  • #24: Full Page: RequiredApp Parts and Custom Actions: OptionalCustom Action also known as “UI command extensions”
  • #25: Full Page: RequiredApp Parts and Custom Actions: OptionalCustom Action also known as “UI command extensions”
  • #26: UseClient-Side Rendering to Customize the Default List View~site/Style Library/CSR/FirstDemo.js
  • #27: UseClient-Side Rendering to Customize the Default List View~site/Style Library/CSR/FirstDemo.js