SlideShare una empresa de Scribd logo
1 de 30
Christophe Humbert
San Diego SharePoint User Group
March 1st, 2011
   Get a grasp of how client side scripting can
    enhance the user experience

   Be aware of the risks that come with such
    solutions
   Demos
   Rendering Web Pages:
     The traditional approach: server/browser
     Client side scripting:
      ▪ AJAX
      ▪ Progressive enhancement
   The demos explained
   Advantages/shortcomings
   Step by step: Easy Tabs installation
Name         Christophe Humbert
Title        SharePoint “functional” consultant
Mission      Make the most of the OOTB features
Field Gear   Calculated Columns
             Content Editor Web Part
             Data View Web Part (SharePoint Designer)
             Workflows (SharePoint Designer)
Country      eFrance, eU.S.A., eChina
Latest News Started “User Managed Solutions LLC” in 2011
            (San Diego, 92127)
   The solutions presented here apply to all
    flavors of SharePoint 2007 and 2010
   They can be installed via the standard
    SharePoint UI
   They rely on custom code, and are not
    available out of the box.
    However, many of them:
     Are packaged, and can easily be installed by end
      users or power users
     Are available for free
   Standard


   Styled tabs


   Accordion
   Snapshot

   Original list
   Tutorial


   Live demo
   Image Rotator

   Slideshow
     Slideshows or sliders are obviously a popular trend
     right now in the web design world – and for good
     reason. It’s an effective way to highlight something
     important and create some visual interest. [Source]
   Various visual indicators



   Countdown
   Matrix view
Server            Browser
                   User enters URL

 Retrieve Page
  information
Retrieve content
 from database
  Build HTML

                    Render HTML
                       page

                     User action
Server             Browser
                                        User enters URL

                    Retrieve Page
Asynchronous         information
JavaScript         Retrieve content
And                 from database
XML
                    Build and send
                        HTML
                                       Render HTML Page
  Web services
                                       Request additional
     RSS
                                           content
    owssvr
     html
                   Retrieve and send
     REST
                        content
                                          Build HTML


                                          User action
   Format: html,
    xml, JSON
Server             Browser
                    User enters URL

 Retrieve Page
  information
Retrieve content
 from database
Build and send
    HTML
                     Render HTML
                        Page

                   Modify and render
                        HTML


                      User action
   SharePoint 2007:
     events are added on the server side
     Full page refresh for new date
   SharePoint 2010:
     events are added on the client side (progressive
      enhancement)
     Partial page refresh for new date (AJAX)

   Works well for rich display, or for content
    updates
   Image Rotator

   Slideshow

   Cross-site snapshot
Page template
                        Top navigation



                        Web Part         Web Part
            Quick
           Launch

                        Web Part         Web Part




   Scripts can be added to the page template, or via a
    Web Part (usually a Content Editor Web Part)
Users’ needs




OOTB Web Parts
Custom Web Part
                   Users’ needs




OOTB Web Parts
Custom Web Part
                           Users’ needs




OOTB Web Parts


                 Progressive
                 enhancement
   Easy Tabs

   Color coded calendar

   PivotTable
   High flexibility
     Example: color coded calendar
   Lighter to test and install
   Easy to remove – back to the OOTB behavior
   Client side interaction works offline
   Leverages resources outside the SharePoint
    world
     Benefits from the active JavaScript community (e.g.
      jQuery plugins)
   Great way to empower the users and encourage
    user adoption
   Risk: users gone wild
     Solution: educate the users
   Method or hack (example: HTML Calculated
    Column)
   Doesn’t solve everything (permissions, access
    other domains)
   Issues with older browsers, or if the user turns
    off client side scripting
   Dependent on the original, OOTB Web Parts
   If the original HTML content is modified, the
    script needs to be executed again
   Get the script
   Upload the script to the Site Assets library
     Tagging
   Add a Content Editor Web Part
   Link the CEWP to the script
   [optional] Export the CEWP, upload it to the
    Web Part gallery
   Client side scripting is a powerful addition to
    your SharePoint toolbox
   See it as a complement to server side
    options, rather than a competitor
   It is code that requires attention and
    maintenance, don’t be fooled by its apparent
    ease of use
   SharePoint User Toolkit
     http://sp2010.pathtosharepoint.com/sharepoint-
     user-toolkit/
   SharePoint User Managed Solutions (SUMS)
     LinkedIn open group (everybody has read access)
   Sites regularly updated with fresh, up-to-date
    content:
   jQuery Library for SharePoint Web Services –
    Marc Anderson, SharePoint MVP
   SharePoint JavaScripts – Alexander Bautz
   Path to SharePoint
   Search the Web for “SharePoint JavaScript”
    or “SharePoint jQuery”
   Allows users to embed custom html in a
    SharePoint page
    HTML includes <script> and <link> tags
   Best practice: store the script in a central
    library and link to it
   jQuery is a popular JavaScript library
     Built on JavaScript
     Strengths:
      ▪ Offers AJAX in a packaged, user friendly interface
      ▪ Addresses cross-browser inconsistencies
      ▪ Has prebuilt animation functions (fade, etc.)
   Recognition of AJAX as a standard way to
    interact with the browser
   Development of JavaScript libraries that
    address cross-browser issues
   New generation of browsers with JavaScript
    engines that boost performance
   New standards that increase the features of
    client side scripting (e.g. canvas element)

Más contenido relacionado

La actualidad más candente

Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix
 
Web Page Composer Webinar
Web Page Composer WebinarWeb Page Composer Webinar
Web Page Composer Webinarricharoy
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part developmenticdesktop
 
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...Rob Wilson
 
Streamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePointStreamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePointRob Wilson
 
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
SharePoint Framework, React and Office UI SPS Paris 2016 - d01SharePoint Framework, React and Office UI SPS Paris 2016 - d01
SharePoint Framework, React and Office UI SPS Paris 2016 - d01Sonja Madsen
 
When to Develop on a Platform (IndyTechFest 2008)
When to Develop on a Platform (IndyTechFest 2008)When to Develop on a Platform (IndyTechFest 2008)
When to Develop on a Platform (IndyTechFest 2008)Rob Wilson
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Sourav Nayyar
 
Share Point For Beginners V1
Share Point For Beginners V1Share Point For Beginners V1
Share Point For Beginners V1MJ Ferdous
 
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink TemplatesSharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink TemplatesMuawiyah Shannak
 
Introduction to sharepoint 2010
Introduction to sharepoint 2010Introduction to sharepoint 2010
Introduction to sharepoint 2010Sachchin Annam
 
SharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScriptSharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScriptRegroove
 
Intro to SharePoint for Developers
Intro to SharePoint for DevelopersIntro to SharePoint for Developers
Intro to SharePoint for DevelopersRob Wilson
 
SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!GFU Cyrus AG
 
SharePoint Alerts with WCF and jQuery
SharePoint Alerts with WCF and jQuerySharePoint Alerts with WCF and jQuery
SharePoint Alerts with WCF and jQueryNick Hadlee
 
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3Ivan Sanders
 
5 form templates and form library
5   form templates and form library5   form templates and form library
5 form templates and form libraryicdesktop
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010Rishu Mehra
 

La actualidad más candente (20)

Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010
 
Web Page Composer Webinar
Web Page Composer WebinarWeb Page Composer Webinar
Web Page Composer Webinar
 
Share point overview
Share point overviewShare point overview
Share point overview
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...
SharePoint Saturday Indy - Streamlining Business Processes with InfoPath and ...
 
Streamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePointStreamlining Business Processes with InfoPath and SharePoint
Streamlining Business Processes with InfoPath and SharePoint
 
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
SharePoint Framework, React and Office UI SPS Paris 2016 - d01SharePoint Framework, React and Office UI SPS Paris 2016 - d01
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
 
When to Develop on a Platform (IndyTechFest 2008)
When to Develop on a Platform (IndyTechFest 2008)When to Develop on a Platform (IndyTechFest 2008)
When to Develop on a Platform (IndyTechFest 2008)
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1
 
Share Point For Beginners V1
Share Point For Beginners V1Share Point For Beginners V1
Share Point For Beginners V1
 
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink TemplatesSharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
SharePoint 2013 Client-Side Rendering (CSR) & JSLink Templates
 
Vf ppt (1)
Vf ppt (1)Vf ppt (1)
Vf ppt (1)
 
Introduction to sharepoint 2010
Introduction to sharepoint 2010Introduction to sharepoint 2010
Introduction to sharepoint 2010
 
SharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScriptSharePoint and the User Interface with JavaScript
SharePoint and the User Interface with JavaScript
 
Intro to SharePoint for Developers
Intro to SharePoint for DevelopersIntro to SharePoint for Developers
Intro to SharePoint for Developers
 
SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!
 
SharePoint Alerts with WCF and jQuery
SharePoint Alerts with WCF and jQuerySharePoint Alerts with WCF and jQuery
SharePoint Alerts with WCF and jQuery
 
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
 
5 form templates and form library
5   form templates and form library5   form templates and form library
5 form templates and form library
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010
 

Similar a Easy tabs, Slideshows, Dashboards, etc - Client Side Scripts for SharePoint

Angular jS Introduction by Google
Angular jS Introduction by GoogleAngular jS Introduction by Google
Angular jS Introduction by GoogleASG
 
Web2.0 Ajax and REST in WebSphere Portal
Web2.0 Ajax and REST in WebSphere PortalWeb2.0 Ajax and REST in WebSphere Portal
Web2.0 Ajax and REST in WebSphere PortalMunish Gupta
 
jQuery programming with visual web part
jQuery programming with visual web partjQuery programming with visual web part
jQuery programming with visual web partSenthamil Selvan
 
IBM Websphere Portal | Portal Accelerators
IBM Websphere Portal  |  Portal AcceleratorsIBM Websphere Portal  |  Portal Accelerators
IBM Websphere Portal | Portal AcceleratorsJason Faszholz
 
Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Ben Robb
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for DevsMicrosoftFeed
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 PresentationAjay Jain
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewDvir Reznik
 
Integrating Your Site With Internet Explorer 8
Integrating Your Site With Internet Explorer 8Integrating Your Site With Internet Explorer 8
Integrating Your Site With Internet Explorer 8goodfriday
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soaTechnology Transfer
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformIvan Sanders
 
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPSharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPAyman El-Hattab
 
SharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekSharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekK.Mohamed Faizal
 
Web 2.0 Tech Talk
Web 2.0 Tech TalkWeb 2.0 Tech Talk
Web 2.0 Tech Talkpooyad
 
Building the next generation of browser apps today
Building the next generation of browser apps todayBuilding the next generation of browser apps today
Building the next generation of browser apps todayRandy Williams
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Developmentmattbremer
 

Similar a Easy tabs, Slideshows, Dashboards, etc - Client Side Scripts for SharePoint (20)

Angular jS Introduction by Google
Angular jS Introduction by GoogleAngular jS Introduction by Google
Angular jS Introduction by Google
 
Web2.0 Ajax and REST in WebSphere Portal
Web2.0 Ajax and REST in WebSphere PortalWeb2.0 Ajax and REST in WebSphere Portal
Web2.0 Ajax and REST in WebSphere Portal
 
jQuery programming with visual web part
jQuery programming with visual web partjQuery programming with visual web part
jQuery programming with visual web part
 
IBM Websphere Portal | Portal Accelerators
IBM Websphere Portal  |  Portal AcceleratorsIBM Websphere Portal  |  Portal Accelerators
IBM Websphere Portal | Portal Accelerators
 
Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 Presentation
 
IBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's NewIBM WebSphere Portal 6.1 Preview - What's New
IBM WebSphere Portal 6.1 Preview - What's New
 
Integrating Your Site With Internet Explorer 8
Integrating Your Site With Internet Explorer 8Integrating Your Site With Internet Explorer 8
Integrating Your Site With Internet Explorer 8
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soa
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
 
sell idea
sell ideasell idea
sell idea
 
WebMatrix2
WebMatrix2WebMatrix2
WebMatrix2
 
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPSharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
 
Share point 2013 cop v4
Share point 2013 cop v4Share point 2013 cop v4
Share point 2013 cop v4
 
SharePoint 2013 Sneak Peek
SharePoint 2013 Sneak PeekSharePoint 2013 Sneak Peek
SharePoint 2013 Sneak Peek
 
Web 2.0 Tech Talk
Web 2.0 Tech TalkWeb 2.0 Tech Talk
Web 2.0 Tech Talk
 
Building the next generation of browser apps today
Building the next generation of browser apps todayBuilding the next generation of browser apps today
Building the next generation of browser apps today
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Development
 
Resume
ResumeResume
Resume
 

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Easy tabs, Slideshows, Dashboards, etc - Client Side Scripts for SharePoint

  • 1. Christophe Humbert San Diego SharePoint User Group March 1st, 2011
  • 2. Get a grasp of how client side scripting can enhance the user experience  Be aware of the risks that come with such solutions
  • 3. Demos  Rendering Web Pages:  The traditional approach: server/browser  Client side scripting: ▪ AJAX ▪ Progressive enhancement  The demos explained  Advantages/shortcomings  Step by step: Easy Tabs installation
  • 4. Name Christophe Humbert Title SharePoint “functional” consultant Mission Make the most of the OOTB features Field Gear Calculated Columns Content Editor Web Part Data View Web Part (SharePoint Designer) Workflows (SharePoint Designer) Country eFrance, eU.S.A., eChina Latest News Started “User Managed Solutions LLC” in 2011 (San Diego, 92127)
  • 5. The solutions presented here apply to all flavors of SharePoint 2007 and 2010  They can be installed via the standard SharePoint UI  They rely on custom code, and are not available out of the box. However, many of them:  Are packaged, and can easily be installed by end users or power users  Are available for free
  • 6. Standard  Styled tabs  Accordion
  • 7. Snapshot  Original list
  • 8. Tutorial  Live demo
  • 9. Image Rotator  Slideshow  Slideshows or sliders are obviously a popular trend right now in the web design world – and for good reason. It’s an effective way to highlight something important and create some visual interest. [Source]
  • 10. Various visual indicators  Countdown
  • 11. Matrix view
  • 12. Server Browser User enters URL Retrieve Page information Retrieve content from database Build HTML Render HTML page User action
  • 13. Server Browser User enters URL Retrieve Page Asynchronous information JavaScript Retrieve content And from database XML Build and send HTML Render HTML Page Web services Request additional RSS content owssvr html Retrieve and send REST content Build HTML User action Format: html, xml, JSON
  • 14. Server Browser User enters URL Retrieve Page information Retrieve content from database Build and send HTML Render HTML Page Modify and render HTML User action
  • 15. SharePoint 2007:  events are added on the server side  Full page refresh for new date  SharePoint 2010:  events are added on the client side (progressive enhancement)  Partial page refresh for new date (AJAX)  Works well for rich display, or for content updates
  • 16. Image Rotator  Slideshow  Cross-site snapshot
  • 17. Page template Top navigation Web Part Web Part Quick Launch Web Part Web Part  Scripts can be added to the page template, or via a Web Part (usually a Content Editor Web Part)
  • 19. Custom Web Part Users’ needs OOTB Web Parts
  • 20. Custom Web Part Users’ needs OOTB Web Parts Progressive enhancement
  • 21. Easy Tabs  Color coded calendar  PivotTable
  • 22. High flexibility  Example: color coded calendar  Lighter to test and install  Easy to remove – back to the OOTB behavior  Client side interaction works offline  Leverages resources outside the SharePoint world  Benefits from the active JavaScript community (e.g. jQuery plugins)  Great way to empower the users and encourage user adoption
  • 23. Risk: users gone wild  Solution: educate the users  Method or hack (example: HTML Calculated Column)  Doesn’t solve everything (permissions, access other domains)  Issues with older browsers, or if the user turns off client side scripting  Dependent on the original, OOTB Web Parts  If the original HTML content is modified, the script needs to be executed again
  • 24. Get the script  Upload the script to the Site Assets library  Tagging  Add a Content Editor Web Part  Link the CEWP to the script  [optional] Export the CEWP, upload it to the Web Part gallery
  • 25. Client side scripting is a powerful addition to your SharePoint toolbox  See it as a complement to server side options, rather than a competitor  It is code that requires attention and maintenance, don’t be fooled by its apparent ease of use
  • 26. SharePoint User Toolkit  http://sp2010.pathtosharepoint.com/sharepoint- user-toolkit/  SharePoint User Managed Solutions (SUMS)  LinkedIn open group (everybody has read access)
  • 27. Sites regularly updated with fresh, up-to-date content:  jQuery Library for SharePoint Web Services – Marc Anderson, SharePoint MVP  SharePoint JavaScripts – Alexander Bautz  Path to SharePoint  Search the Web for “SharePoint JavaScript” or “SharePoint jQuery”
  • 28. Allows users to embed custom html in a SharePoint page HTML includes <script> and <link> tags  Best practice: store the script in a central library and link to it
  • 29. jQuery is a popular JavaScript library  Built on JavaScript  Strengths: ▪ Offers AJAX in a packaged, user friendly interface ▪ Addresses cross-browser inconsistencies ▪ Has prebuilt animation functions (fade, etc.)
  • 30. Recognition of AJAX as a standard way to interact with the browser  Development of JavaScript libraries that address cross-browser issues  New generation of browsers with JavaScript engines that boost performance  New standards that increase the features of client side scripting (e.g. canvas element)