Over the last several years Web development has seen a noticeable shift from server-side to client-side development. It’s taken a while but we’re starting to see this shift in the SharePoint development space as well. To support developers who want to do more on the client-side and to make it possible to build interesting applications using the SharePoint 2013 App Model, Microsoft has made significant enhancements to both the Client Object Model (CSOM) and the REST API. This course covers the fundamental use of these APIs, discusses how they have evolved in SharePoint 2013, and highlights many of the their new features.
Course Contents:
- Introduction
- Client Object Model
- Retrieving Resources with Load
- Demo: Retrieving Resources with Load (Managed)
- Demo: Retrieving Resources with Load (JavaScript)
- Retrieving Resources with LoadQuery
- Demo: Retrieving Resources with LoadQuery
- REST API
- Retrieving Resources using the REST API
- Demo: Retrieving Resources using the REST API (Managed)
- Demo: Retrieving Resources using the REST API (JavaScript)
- Summary
- Programming with the Client Object Model
- Introduction
- Preparing for the Demos
- Selecting Fields to Retrieve
- Demo: Selecting Fields to Retrieve
- Nesting Includes
- Demo: Nesting Includes
- Retrieving List Items
- Demo: Retrieving List Items
- Data-binding
- Demo: Data-binding
- Creating a List
- Demo: Creating a List
- Batch Exception Handling
- Demo: Batch Exception Handling
- Demo: Adding and Editing List Items
- Calling External Services using Web Proxy
- Demo: Calling External Services using Web Proxy
- Communicating with the Host Web
- Demo: Communicating with the Host Web
- Authentication
- Demo: Authentication
- Summary
- Programming with the Rest API
- Introduction
- OData Queries
- Demo: OData Queries
- Demo: Expand
- Demo: Data-binding
- Creating a List
- Demo: Creating a List
- Creating List Items
- Demo: Creating List Items
- Updating List Items
- Demo: Updating List Items
- Demo: Calling External Services using Web Proxy
- Communicating with the Host Web
- Demo: Communicating with the Host Web
- Continuations
- Demo: Continuations
- Summary
- Working with Documents and Document Libraries
- Introduction
- Adding Fields
- Demo: Creating a Custom Library (CSOM)
- Demo: Creating a Custom Library (REST)
- Uploading Documents
- Demo: Uploading Documents (CSOM)
- Demo: Uploading Documents (REST)
- Demo: Uploading Documents II (REST)
- Summary
- Working with Managed Metadata
- Introduction
- Managed Metadata
- Demo: Creating Terms
- Adding Taxonomy Fields
- Demo: Adding a Taxonomy Field
- Setting Taxonomy Field Values
- Demo: Setting Taxonomy Field Values
- Summary
- Working with Users
- User Permissions
- Demo: User Permissions (CSOM)
- Demo: User Permissions (REST)
- User Profiles
- Demo: User Profiles
- Summary
- Working with Search
- Introduction
- Search
- Demo: Search (CSOM)
- Demo: Search (REST)
- Summary
- JavaScript in SharePoint Solutions
- Introduction
- JavaScript in Farm Solutions
- Demo: JavaScript in Farm Solutions
- JavaScript in Sandbox Solutions
- Demo: JavaScript in Sandbox Solutions
- Summary
- Working with Custom and “Legacy” Web Services
- Custom WCF Services
- Demo: Custom WCF Services
- Demo: Consuming a Custom WCF Service
- Status and Notifications
- Demo: Notification API
- ASMX Web Services
- Demo: ASMX Web Services (Managed)
- Demo: ASMX Web Services (JavaScript)
- SharePoint 2010 REST API
- Demo: SharePoint 2010 REST API
- Summary
Some of the questions answered in this course:
- What is the SharePoint 2013 Client Object Model?
- How has the Client Object Model changed since SharePoint 2010?
- How do I retrieve information from SharePoint using the Client Object Model Load method?
- How do I retrieve information from SharePoint using Client Object Model LoadQuery method?
- What is the SharePoint 2013 REST API?
- How has the REST API changed since SharePoint 2010?
- How do I retrieve information from SharePoint using the REST API?
- How do I do a CAML Query using the SharePoint Client Object Model?
- How do I data bind to data retrieved using the SharePoint Client Object Model?
- How do I create a list using the SharePoint Client Object Model?
- How do I do Batch (a.k.a Server-Side) Exception Handling using the SharePoint Client Object Model?
- How do I add and update list items using the SharePoint Client Object Model?
- How do I call external web services using the SharePoint Client Object Model?
- What are the authentication options when using the SharePoint Client Object Model?
- How do I create a list using the SharePoint REST API?
- How do I add and update list items using the SharePoint REST API?
- How do I call external web services using the SharePoint REST API?
- How do I upload documents to SharePoint using the SharePoint Client Object Model?
- How do I upload documents to SharePoint using the SharePoint REST API?