Client Object Model –
SharePoint 2010



Shakir Majeed Khan
http://junooni.wordpress.com/
MySelf

 User Group Leader of SharePoint Techies,
 http://www.facebook.com/pages/SharePoint-
 Techies
 Working independently on SharePoint
 technologies.
 Trainer for Microsoft Office SharePoint Server
 2007 and Window SharePoint Services 3.0 at
 AUC Technologies.
Agenda
 This Session is divided into two
   Client Side Object Model
      NET Client OM
      ECMAScript Client OM
      Silver Light API
 Questions
Why Client Object Model?
 More SharePoint Web services
 is a major request
 Client Object Model provides complete API instead
 of more services
 Provides an abstraction layer to return results as
 recognizable SharePoint objects
 Consistent developer experience across platforms
 (.NET, ECMAScript, Silverlight)
Equivalent Objects
Server         .NET Managed            Silverlight             ECMAScript
(Microsoft     (Microsoft.SharePoint   (Microsoft.SharePoint   (SP.js)
.SharePoint)   .Client)                .Client.Silverlight)
SPContext      ClientContext           ClientContext           ClientContext
SPSite         Site                    Site                    Site

SPWeb          Web                     Web                     Web

SPList         List                    List                    List

SPListItem     ListItem                ListItem                ListItem

SPField        Field                   Field                   Field
Using the Client Object Model
  ECMAScriptControls and Logic

Browser
                          JSON Response
          ECMAScript OM                                       Server
                          XML Request
                                                               OM
                 Proxy

                                           Client.svc
                          XML Request
                 Proxy

                          JSON Response                        Content
           Managed OM
                                                              database
Managed Client

    Managed Controls and Logic            SharePoint Server
Client Object Model


  .NET Client Object Model
Demo
Client Object Model


  ECMAScript Client Object Model
ECMAScript Client OM

 ECMAScript Client OM is easily added to a
 SharePoint ASPX page - reference:
   _layouts/sp.js
   Add this using <SharePoint:ScriptLink>
 All libraries crunched for performance
   Use un-crunched *.debug.js by adding
   <SharePoint:ScriptLink … ScriptMode=“Debug” />
 Method signatures can be different
 Different data value types
Demo
Thank You
Facebook: http://www.facebook.com/shakir.majeed
Blog: http://junooni.wordpress.com/
Email: shakir.majeed@gmail.com

More Related Content

PPTX
Sp administration-training-prism
PPTX
Getting Started with SharePoint Development
PPTX
Office 2013 loves web developers slide
PDF
Sviluppare app per office
PPTX
Industrial training seminar ppt on asp.net
PPTX
New Features of ASP.NET 4.0
PDF
Come riprogettare le attuali farm solution di share point con il nuovo modell...
Sp administration-training-prism
Getting Started with SharePoint Development
Office 2013 loves web developers slide
Sviluppare app per office
Industrial training seminar ppt on asp.net
New Features of ASP.NET 4.0
Come riprogettare le attuali farm solution di share point con il nuovo modell...

What's hot (20)

PDF
WebNet Conference 2012 - Designing complex applications using html5 and knock...
PDF
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
PDF
tTecniche di sviluppo mobile per share point 2013 e office 365
PPTX
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
PPTX
Access & SharePoint
PPTX
What’s New for Devs
PPTX
Codemotion 2013 - Designing complex applications using html5 and knockoutjs
PPTX
What Is SPS Arabia
PPTX
It114 Configuring SharePoint 2010 User Profile Sync
PPTX
Building productivity solutions with Microsoft Graph
PDF
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
PPTX
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
PPTX
Drupal Commerce, DrupalCamp Colorado 2010
PPT
AUC Tech-SP 2010
PPTX
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
PPTX
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
PDF
Android SharePoint
PPT
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
PPTX
IBM Digital Experience Theme Customization
WebNet Conference 2012 - Designing complex applications using html5 and knock...
SPCA2013 - SharePoint Nightmares - Coding Patterns and Practices
tTecniche di sviluppo mobile per share point 2013 e office 365
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
Access & SharePoint
What’s New for Devs
Codemotion 2013 - Designing complex applications using html5 and knockoutjs
What Is SPS Arabia
It114 Configuring SharePoint 2010 User Profile Sync
Building productivity solutions with Microsoft Graph
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
SharePoint Connections Coast to Coast Developer Boot Camp Crash Course v3
Drupal Commerce, DrupalCamp Colorado 2010
AUC Tech-SP 2010
Unity Connect Haarlem 2016 - The Lay of the Land of Client-Side Development c...
SharePoint Framework, React and Office UI SPS Paris 2016 - d01
Android SharePoint
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
IBM Digital Experience Theme Customization
Ad

Similar to STUG-Client Object Model SharePoint 2010 (20)

PPTX
Building dynamic applications with the share point client object model
PPTX
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
PPTX
Client Object Model - SharePoint Extreme 2012
PDF
SharePoint Saturday The Conference DC - How the client object model saved the...
PDF
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
PPTX
Rest API and Client OM for Developer
PPT
Introduction to the Client OM in SharePoint 2010
PPTX
Access SharePoint Remotely
PDF
Introduction to share point 2010 development
PPTX
SharePoint Client Object Model (CSOM)
PPTX
Introduction to the SharePoint Client Object Model
PPTX
Spicing up SharePoint web parts
KEY
SharePoint 2010 Client Object Model
PPTX
Lyudmila Zharova: Developing Solutions for SharePoint 2010 Using the Client O...
PPTX
SharePoint Data Anywhere and Everywhere by Chris Beckett - SPTechCon
PPT
jsSaturday - PhoneGap and jQuery Mobile for SharePoint 2013
PPTX
SharePoint 2013 APIs demystified
PPTX
Introduction to the SharePoint Client Object Model and REST API
PDF
Building windows8 modern app for sp2013
PPTX
2010 - Developer look at the Client Object Model
Building dynamic applications with the share point client object model
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
Client Object Model - SharePoint Extreme 2012
SharePoint Saturday The Conference DC - How the client object model saved the...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Rest API and Client OM for Developer
Introduction to the Client OM in SharePoint 2010
Access SharePoint Remotely
Introduction to share point 2010 development
SharePoint Client Object Model (CSOM)
Introduction to the SharePoint Client Object Model
Spicing up SharePoint web parts
SharePoint 2010 Client Object Model
Lyudmila Zharova: Developing Solutions for SharePoint 2010 Using the Client O...
SharePoint Data Anywhere and Everywhere by Chris Beckett - SPTechCon
jsSaturday - PhoneGap and jQuery Mobile for SharePoint 2013
SharePoint 2013 APIs demystified
Introduction to the SharePoint Client Object Model and REST API
Building windows8 modern app for sp2013
2010 - Developer look at the Client Object Model
Ad

More from Shakir Majeed Khan (15)

PPTX
Sharepoint Saturday India Online best practice for developing share point sol...
PPTX
Stug -Sir Syed University On Location-Live Event
PPT
Sharepoint developement tools(webparts+worflows) EBizSoft
PPTX
SharePoint 2010 and Changing Business Needs-MAJU 2011
PPTX
STUG-Sand boxed Solution
PPTX
Share pointtechies linqtosp-andsbs
PPTX
SPS- Share Point 2010 and Windows Azure
PPTX
SharePoint 2010- Changing business needs
PPT
STUG- SharePoint 2010 for ASP.net Devs
PPT
Sharepoint Online
PPT
FCPakistan: a case study
PPT
SharePoint 2010 and its development tools
PDF
Microsoft SharePoint Server 2010-STUG- DCS-KU 9 feb live and on location
PDF
Stug-paf kiet 28 january live and on location-Enterprise Content Management
PPTX
Sharepoint introanddevelopementtools
Sharepoint Saturday India Online best practice for developing share point sol...
Stug -Sir Syed University On Location-Live Event
Sharepoint developement tools(webparts+worflows) EBizSoft
SharePoint 2010 and Changing Business Needs-MAJU 2011
STUG-Sand boxed Solution
Share pointtechies linqtosp-andsbs
SPS- Share Point 2010 and Windows Azure
SharePoint 2010- Changing business needs
STUG- SharePoint 2010 for ASP.net Devs
Sharepoint Online
FCPakistan: a case study
SharePoint 2010 and its development tools
Microsoft SharePoint Server 2010-STUG- DCS-KU 9 feb live and on location
Stug-paf kiet 28 january live and on location-Enterprise Content Management
Sharepoint introanddevelopementtools

Recently uploaded (20)

PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Human Computer Interaction Miterm Lesson
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Altius execution marketplace concept.pdf
PDF
The AI Revolution in Customer Service - 2025
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Rapid Prototyping: A lecture on prototyping techniques for interface design
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
4 layer Arch & Reference Arch of IoT.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Module 1 Introduction to Web Programming .pptx
Early detection and classification of bone marrow changes in lumbar vertebrae...
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
Build automations faster and more reliably with UiPath ScreenPlay
LMS bot: enhanced learning management systems for improved student learning e...
SGT Report The Beast Plan and Cyberphysical Systems of Control
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Advancing precision in air quality forecasting through machine learning integ...
Human Computer Interaction Miterm Lesson
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Altius execution marketplace concept.pdf
The AI Revolution in Customer Service - 2025
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Co-training pseudo-labeling for text classification with support vector machi...
A hybrid framework for wild animal classification using fine-tuned DenseNet12...

STUG-Client Object Model SharePoint 2010

  • 1. Client Object Model – SharePoint 2010 Shakir Majeed Khan http://junooni.wordpress.com/
  • 2. MySelf User Group Leader of SharePoint Techies, http://www.facebook.com/pages/SharePoint- Techies Working independently on SharePoint technologies. Trainer for Microsoft Office SharePoint Server 2007 and Window SharePoint Services 3.0 at AUC Technologies.
  • 3. Agenda This Session is divided into two Client Side Object Model NET Client OM ECMAScript Client OM Silver Light API Questions
  • 4. Why Client Object Model? More SharePoint Web services is a major request Client Object Model provides complete API instead of more services Provides an abstraction layer to return results as recognizable SharePoint objects Consistent developer experience across platforms (.NET, ECMAScript, Silverlight)
  • 5. Equivalent Objects Server .NET Managed Silverlight ECMAScript (Microsoft (Microsoft.SharePoint (Microsoft.SharePoint (SP.js) .SharePoint) .Client) .Client.Silverlight) SPContext ClientContext ClientContext ClientContext SPSite Site Site Site SPWeb Web Web Web SPList List List List SPListItem ListItem ListItem ListItem SPField Field Field Field
  • 6. Using the Client Object Model ECMAScriptControls and Logic Browser JSON Response ECMAScript OM Server XML Request OM Proxy Client.svc XML Request Proxy JSON Response Content Managed OM database Managed Client Managed Controls and Logic SharePoint Server
  • 7. Client Object Model .NET Client Object Model
  • 9. Client Object Model ECMAScript Client Object Model
  • 10. ECMAScript Client OM ECMAScript Client OM is easily added to a SharePoint ASPX page - reference: _layouts/sp.js Add this using <SharePoint:ScriptLink> All libraries crunched for performance Use un-crunched *.debug.js by adding <SharePoint:ScriptLink … ScriptMode=“Debug” /> Method signatures can be different Different data value types
  • 11. Demo
  • 12. Thank You Facebook: http://www.facebook.com/shakir.majeed Blog: http://junooni.wordpress.com/ Email: [email protected]