Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using OData Data Sources in SharePoint 2013 Solutions Hunter

Similar presentations


Presentation on theme: "Using OData Data Sources in SharePoint 2013 Solutions Hunter"— Presentation transcript:

1 Using OData Data Sources in SharePoint 2013 Solutions Hunter Pankey @thehunterpankey http://hunterpankey.com

2 What is OData? Protocol for interacting with RESTful services Microsoft Open Specifications Promise Operates over HTTP Returns ATOM or JSON

3 What are RESTful services? Focuses on resources Relatively simple to use Four principles ▫Use HTTP methods appropriately ▫Be stateless ▫Expose data in a directory structure ▫Transfer either XML or JSON

4 SOAP vs. REST SOAPREST Data Formatting: XMLData Formatting: XML or JSON Transports: Pretty much anything Transports: HTTP Supports stateful operationsCompletely Stateless Allows for caching results

5 REST URL Examples http://odata.netflix.com/Catalog/Titles and http://odata.netflix.com/Catalog/Titles?$filter= Name%20eq%20'Bad%20News%20Bears'

6 OData Principles Metadata Data Querying Editing Operations Vocabularies

7 Data Model Entities Entity sets Relationships

8 Data Model Complex types Entity key Properties ▫Declared properties ▫Open entity types/dynamic properties Operations/Functions/Actions

9 Data model Structural elements Row types Resources Annotations/Vocabularies

10 Service Model Metadata document Service document

11 OData Providers SharePoint itself Azure, Azure Marketplace SQL Reporting Services Dynamics CRM Many public feeds ▫Netflix ▫eBay ▫Twitpic ▫Windows Live

12 OData Players

13 BCS Overview Similarities to ORMs External Content Types Connectors SharePoint Interface

14 BCS Overview Metadata store Secure Store Services External Lists New for SharePoint 2013 ▫Performance ▫Model generation ▫SharePoint 2013 apps

15 BCS Stereotypes StereotypeHTTP VerbExample FinderGet http://odata.netflix.com/Catalog/Titles Specific FinderGet http://odata.netflix.com/Catalog/Titles?$filt er=Name%20eq%20'Bad%20News%20Bears ' CreatorPost http://odata.netflix.com/Catalog/Titles UpdaterPut http://odata.netflix.com/Catalog/Titles?$filt er=Name%20eq%20'Bad%20News%20Bears ' DeleterDelete http://odata.netflix.com/Catalog/Titles?$filt er=Name%20eq%20'Bad%20News%20Bears ' Association NavigatorGet http://odata.netflix.com/Catalog/Genres('Ho rror')/Titles

16 External Lists Overview Data source Improvements in SharePoint 2013 Export/offline access

17 Remote Event Receivers New in SharePoint 2013 Added BDC stereotypes New Functionality

18 Demo Time!!!


Download ppt "Using OData Data Sources in SharePoint 2013 Solutions Hunter"

Similar presentations


Ads by Google