Share point 2013 - Javascript Object Model

2,487 views

Published on

JavaScript is becoming the new de-facto standard for developing solutions on top of SharePoint, thanks to the new App model! This session will cover the fundamental use of the SharePoint 2013 JavaScript Object Model (JSOM), explain how JSOM has evolved in SharePoint 2013, and highlight many of JSOM new features.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
2,487
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
78
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide
  • Muawiyah ShannakSharePoint Architect, MCC & UAE-SPUG OrganizerBlog: mushannak.blogspot.aeTwitter: @MuShannakLinkedIn: linkedin.com/in/shannakSlideshare: slideshare.net/MuawiyahShannakWebsite: mushannak-public.sharepoint.com
  • Email : uaespug@live.comWebsite : uaesharepoint.orgFacebook: http://www.facebook.com/UAESharepointTwitter : @UAESharePointYouTube: http://www.youtube.com/UAESharePointLinkedIn: linkedin.com/groups/UAESharePoint-4759377n
  • All CRUD operations are automatically batched Requests for resource batched using Load and LoadQuery methodsBatches are executed using ExecuteQuery or ExecuteQueryAsyncThis trigger a POST request to Client.svc/ProcessQueryMessage body contains XML document with batched request informationResponse contain requests resource in JSOn Format
  • SP 2013 CSOM Coverage full reference : http://msdn.microsoft.com/en-us/library/office/dn268594.aspxSP 2010 CSOM Coverage : http://msdn.microsoft.com/en-us/library/office/ee537855%28v=office.14%29.aspx
  • Naming reference: http://msdn.microsoft.com/en-us/library/office/dn268594.aspx
  • There is demo script document
  • Naming reference: http://msdn.microsoft.com/en-us/library/office/dn268594.aspx
  • Naming reference: http://msdn.microsoft.com/en-us/library/office/dn268594.aspx
  • Reference : http://msdn.microsoft.com/en-us/library/office/hh185011%28v=office.14%29.aspxSP.ListItemCreationInformation : Specifies the properties of the new list item. E.g. folderUrl
  • Share point 2013 - Javascript Object Model

    1. 1. SharePoint 2013 JavaScript Object Model
    2. 2. Blog: mushannak.blogspot.ae Twitter: @MuShannak LinkedIn: linkedin.com/in/shannak Slideshare: slideshare.net/MuawiyahShannak Muawiyah Shannak SharePoint Architect, MCC & UAESPUG Organizer Website: mushannak-public.sharepoint.com
    3. 3. KNOWLEDGE SHARE @UAESharePoint BE CONNECTED JOIN THE COMMUNITY
    4. 4. Email : uaespug@live.com Website : uaesharepoint.org Facebook: http://www.facebook.com/UAESharepoint January, 2013 Online and in class sessions 20 Organizers, Speaker and Contributor Twitter : @UAESharePoint YouTube: http://www.youtube.com/UAESharePoint Around 500 social media followers Register Microsoft technical Community LinkedIn: linkedin.com/groups/UAESharePoint-4759377n
    5. 5. Agenda • CSOM intro • How CSOM works • CSOM Advantages • Read list data and query • Add/Update/Delete list Items
    6. 6. JavaScript/Silverlight XML Client.svc JSON Server OM Phone .NET SharePoint Server Client
    7. 7. Initiate SP Context Defined the required objects Load objects Execute Request (executeQueryAsync) Handle Response (Success, Failure)
    8. 8. SharePoint apps cannot run any server-side code

    ×