Your SlideShare is downloading. ×
STUG-Client Object Model SharePoint 2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

STUG-Client Object Model SharePoint 2010

1,222
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,222
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Client Object Model –SharePoint 2010Shakir Majeed Khanhttp://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 ObjectsServer .NET Managed Silverlight ECMAScript(Microsoft (Microsoft.SharePoint (Microsoft.SharePoint (SP.js).SharePoint) .Client) .Client.Silverlight)SPContext ClientContext ClientContext ClientContextSPSite Site Site SiteSPWeb Web Web WebSPList List List ListSPListItem ListItem ListItem ListItemSPField Field Field Field
  • 6. Using the Client Object Model ECMAScriptControls and LogicBrowser JSON Response ECMAScript OM Server XML Request OM Proxy Client.svc XML Request Proxy JSON Response Content Managed OM databaseManaged Client Managed Controls and Logic SharePoint Server
  • 7. Client Object Model .NET Client Object Model
  • 8. Demo
  • 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 YouFacebook: http://www.facebook.com/shakir.majeedBlog: http://junooni.wordpress.com/Email: shakir.majeed@gmail.com