Business connectivity solutions runtime and object model deep dive (part 2)

810 views
745 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
810
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Business connectivity solutions runtime and object model deep dive (part 2)

  1. 1. SESSION CODE: OFS401 Business Connectivity Solutions Runtime and Object Model Deep Dive Chakkaradeep Chandran (Chaks) Solutions Specialist Intergen
  2. 2. Agenda Quick BCS Overview BCS Solutions Creating BDC Models Create, Update, Delete BCS Object Model Manipulating External Lists More demos…3 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  3. 3. What is BCS A set of features that provide the capability to connect SharePoint 2010 and Office 2010 applications to any external system: Line-of-Business system (Microsoft Dynamics, Oracle, or Siebel) Web 2.0 service Custom home-grown application Provides read/write capabilities to those external systems It provides out-of-box features, services and tools that streamline development to deeply integrate external data and services4 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  4. 4. Business Connectivity Services SharePoint
  5. 5. Business Connectivity Services External data
  6. 6. BCS Tooling Support SharePoint Designer 2010 Visual Studio 20107 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  7. 7. External Content Types Describes the schema and data access BCS Client capabilities of an external data source Customer and its behavior within Office and FirstName SharePoint LastName Email (WebService, DB, .Net object, LOB system, Web GetCustomer() 2.0 service, etc.) GetCustomers() UpdateCustomer() DeleteCustomer() BCS10 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  8. 8. Solution Types • Surface data in External Lists • Connect those lists to Outlook, SPW Create reusable components (UI parts, ECTs, actions) Simple Intermediate Advanced11 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  9. 9. No Code Solutions Vs Custom Code No Code Solutions Custom Code External Data Columns BDC Object Model External Lists SharePoint Object Model Chart Web Parts Client Object Model Business Data Web Parts Custom Connectors - Business Data List/Related List - Business Item Data Builder - Business Data Item Data Source Type - SQL, WCF Service, .NET Assembly12 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  10. 10. Creating BDC Models in Visual Studio 201013 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  11. 11. BCS Object Model Overview BDC object models BDC Runtime object model on the server and on the client BDC Administration object model on the server and BDC Administration Client object model on the client BCS Cache object model on the client BCS Solution Packaging object model on the server running SharePoint Server 2010 Not available in SharePoint Foundation 2010. To work with External Lists: SharePoint List Object Model Client Object Model14 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  12. 12. BDC Runtime Object Model Add references the BDC assemblies Microsoft.BusinessData.dll Microsoft.SharePoint.dll Get the BDC Service Get the Metadata Catalog Get the Entity Create the LOBSystem and LOBSystemInstance Execute the method(s) on the LOBSystemInstance15 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  13. 13. Using the BDC Runtime Object Model16 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  14. 14. Manipulating External Lists External List Template Id = 600 Use SPWeb.Lists.Add(name,description,url, SPListDataSource) to create external lists Use the property HasExternalDataSource to check if a List is an External List Build CAML query to retrieve your items You need a Method tag Specify the ViewFields17 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  15. 15. Manipulating External Lists18 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  16. 16. Related Content Breakout sessions - Wednesday, September 1 16:15 - 17:15 OFS401 Business Connectivity Solutions Runtime and Object Model Deep Dive Breakout sessions - Monday, August 30 17:25 - 18:25 OFS209 The new world of SharePoint 2010 Architecture & Administration Breakout sessions - Wednesday, September 1 10:40 - 11:40 OFS307 Office 2010 and SharePoint 2010: The whole is greater… Breakout sessions - Tuesday, August 31 14:55 - 15:55 OFS303 Claims based authentication in SharePoint 201019 www.chakkaradeep.com || chaks@intergen.co.nz || http://bit.ly/bcs-resources
  17. 17. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

×