Business Connectivity Services (BCS) for Developers


Published on

SharePoint Saturday New Zealand

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Business Connectivity Services (BCS) for Developers

  1. 1. Business Connectivity Services (BCS) for Developers<br />ChakkaradeepChandran<br />SharePoint Server MVP<br />Intergen<br />
  2. 2. Agenda<br />BCS Overview<br />BCS Solutions<br />Creating BDC Models<br />Create, Update, Delete<br />More demos…<br />
  3. 3. What is BCS?<br />A set of features that provide the capability to connect SharePoint 2010 and Office 2010 applications to any external system:<br />Line-of-Business system (Microsoft Dynamics, Oracle, or Siebel)<br />Web 2.0 service<br />Custom home-grown application<br />Provides read/write capabilities to those external systems<br />It provides out-of-box features, services and tools that streamline development to deeply integrate external data and services<br />
  4. 4. The BIG Picture<br />SharePoint<br />BCS Client<br />Dev Platform<br />Enterprise Search<br />Business Intelligence<br />Collaboration Social<br />Enterprise Content Management<br />External Lists<br />External Content Type Repository<br />Business Data Connectivity<br />Web 2.0<br />DB<br />WCF<br />Web Service<br />LOB<br />
  5. 5. Presentation in SharePoint<br />Business Data Connectivity (BDC)<br />BDC Metadata Store<br />BDC Server Runtime<br />External Lists<br />External Data Columns<br />External Content Type Picker<br />External Item Picker<br />Profile Pages<br />.NET Assembly<br />Connector<br />DB<br />Connector<br />WCF/WS<br />Connector<br />Custom<br />Connector<br />
  6. 6. External Content Types<br />Office Clients<br />Describes the schema and data access capabilities of an external data source and its behavior within Office and SharePoint<br />BCS Client<br />Customer<br />FirstName<br />LastName<br />Email<br />GetCustomer()<br />GetCustomers()<br />UpdateCustomer()<br />DeleteCustomer()<br />External Data Source<br />(WebService, DB, .Net object, LOB system, Web 2.0 service, etc.)<br />External Content Type (ECT)<br />*formerly known as BDC Entity<br />SharePoint<br />BCS<br />
  7. 7. BCS Tooling Support<br />SharePoint Designer 2010<br />Visual Studio 2010<br />
  8. 8. No Code Vs Custom Code<br />
  9. 9. DemoCreating BDC Modelsusing VS2010<br />
  10. 10. Manipulating External Lists<br />External List Template Id = 600<br />Use SPWeb.Lists.Add(name,description,url, SPListDataSource) to create external lists<br />Use the property HasExternalDataSource to check if a List is an External List<br />Build CAML query to retrieve your items<br />You need a Method tag<br />Specify the ViewFields<br />
  11. 11. DemoCreating External ListsusingVS2010<br />
  12. 12. BCS Limitations<br />Workflows cannot be associated with external lists<br />However, you can use the external data columns and manipulate the external lists in a workflow<br />No RSS feed support for external lists<br />No REST based access for external lists<br />The http://site/_vti_bin/ListData.svc does not support external lists<br />LINQ to SharePoint spmetal.exe does not support external lists<br />Cannot configure alerts for external lists<br />Cannot export external list items to Excel (Export to Excel feature)<br />Item-Level permissions is not available for external lists<br />
  13. 13. BCS Limitations<br />Versioning cannot be configured on external lists<br />Item History is not available on external lists<br />Datasheet view cannot be used in external lists<br />XSLT is supported though<br />You cannot create a site column of type ‘External Data Column’<br />External data columns can be created only as list based columns and cannot be consumed insite level content types<br />No Write support for BLOB<br />You cannot write back to BLOB fields using BCS unless you write your own method<br />You can access BLOB columns by defining a StreamAccessor method and presenting the external data via the BCS Data List web part by checking the Display stream fields property<br />Ratings feature is not supported for external lists<br />Metadata based navigation is not supported for External Lists<br />
  14. 14. Thank Youhttp://www.chakkaradeep.comSession Resources<br />
  15. 15. Thank you to our Sponsors<br />MSCOMMUNITIES<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.