Methods MOSS Clientside Weaklytyped lists Web Services Client
Methods, MOSS Client-side Weakly-typed lists Web Services Client OM Strongly-typed lists REST APIs Data Platform Farm Server-side New in 2010 Improved Site List Data External Lists Server OM Weakly-typed lists LINQ Strongly-typed lists
Microsoft. Share. Point. Client 281 kb Microsoft. Share. Point. Client. Runtime 145 kb > > SP. js SP. Core. js SP. Runtime. js 380 kb 13 kb 68 kb
client. Context = new Client. Context(“http: //mysite”); client. Context. Load(list); client. Context. Execute. Query();
Hello World, Client Object Model
Client Application client server Client Application Client OM Execute. Query() XML Web Service WPF/Win. Form/Office Silverlight Java. Script JSON Client. svc Share. Point API Share. Point Data Server Application
> > User Profiles People Search Enterprise Metadata > Excel REST web services > Publishing > Administration
client. Context. Load(web); client. Context. Load(web. Root. Folder); client. Context. Load(web. Lists);
var query = from list in client. Context. Web. Lists where list. Title != null select list; var result = client. Context. Load. Query(query); client. Context. Execute. Query();
client. Context. Load(o. List, list => list. Fields. Where(field => field. Hidden == false && field. Filterable == true)); client. Context. Execute. Query();
Queries and Filtering
Exception Handling & Conditional Load
client server
Cross-Site Data Access
client. Context = new Client. Context(“http: //mysite”); client. Context. Load(list); client. Context. Execute. Query();
Methods, MOSS Client-side Weakly-typed lists Web Services Client OM Strongly-typed lists REST APIs Data Platform Farm Server-side New in 2010 Improved Site List Data External Lists Server OM Weakly-typed lists LINQ Strongly-typed lists
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at Microsoft. PDC. com
> > channel 9. msdn. com/learn Built by Developers for Developers….
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U. S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
- Slides: 33