Upload
craig-pilkenton
View
2.442
Download
3
Embed Size (px)
DESCRIPTION
SharePoint 2010 REST with JavaScript and jQuery
Citation preview
Gathering SharePoint 2010 REST data with
JavaScript/JQuery
Craig PilkentonSharePoint Engineer
Intro and BackgroundIntro and BackgroundCraig PilkentonFinancial Partners, [email protected]://www.linkedin.com/in/craigpilkenton
•SharePoint Engineer•Senior SharePoint Consultant at EMC Consulting•SharePoint Engineer at MassMutual•Working with SharePoint since it was a beta product in 2000 (Tahoe)
•Microsoft Certified Technology Specialist o (SharePoint 2010/2007)
What is REST in What is REST in SharePoint?SharePoint?
• Representational State Transfer plus HTTP can be thought of as The Web itself
• A client can either be in transition between application states or "at rest“, able to interact with its user, but creates no load and consumes no per-client storage
• Fully-realized, it is oData (Open Data Protocol): REST + AtomPub + Modeling + URI Semantics
What does it look like?What does it look like?• It looks like RSS feeds, which is just XML!!• Try this yourself:
http://odata.netflix.com/Catalog/Titles?$top=1
So how do we access it?So how do we access it?• For SharePoint 2010, we change our URL’s to
access the always-on serviceo http://z04-w1:50000/Examples/_vti_bin/ListData.svc/
Get to the Demo!!Get to the Demo!!
ResourcesResources• NothingButSharePoint.com:
o REST APIs
• Scott Currier’s Blog:o REST and SharePoint 2010 Quick Start Guide
• WCF Data Services Quick Starto http://msdn.microsoft.com/en-us/data/ee720180
• Using Microsoft ADO.NET Data Serviceso http://msdn.microsoft.com/en-us/library/cc907912.aspx
Craig Pilkenton, Financial Partners, [email protected]://www.linkedin.com/in/craigpilkenton