building custom bcs .net connectors
DESCRIPTION
Building Custom BCS .NET ConnectorsTRANSCRIPT
![Page 1: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/1.jpg)
BUILDING CUSTOM BCS CONNECTORS
Chakkaradeep Chandran (Chaks)
Consultant, Microsoft NZ
![Page 2: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/2.jpg)
AGENDA
• BCS Overview
• BCS Solutions
• Creating BDC Models• Create, Update, Delete
• Searching external data
• More demos…
![Page 3: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/3.jpg)
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 services
![Page 4: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/4.jpg)
BUSINESS CONNECTIVITY SERVICES
BCS Client
SharePoint
Business Data Connectivity
External Content Type Repository
External Lists
Dev Platform Enterprise SearchBusiness Intelligence Collaboration SocialEnterprise Content
Management
Web 2.0DBWCFWeb ServiceLOB
![Page 5: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/5.jpg)
BUSINESS CONNECTIVITY SERVICES
BDC Client Runtime
Client DataCache
DBConnecto
r
WCF/WSConnector
.NET AssemblyConnecto
r
CustomConnecto
r
BDC Metadata Store
Business Data Connectivity (BDC)
BDC Server Runtime
Presentation in SharePoint
SAP ORACLE Siebel
SQLCustom .N
ET assembly
External data
Client to Backend Direct Connection
![Page 6: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/6.jpg)
SOLUTION TYPES
Simple Advanced
• Custom connectivity for data aggregation, transformation, security, etc.• Use custom code to integrate
data into any Office app• Business logic in forms Create reusable components
(UI parts, ECTs, actions)• Surface data in External Lists
• Connect those lists to Outlook, SPW
Intermediate
• Customize• InfoPath forms• Outlook task pane and
ribbon• Workflow• Web Part Pages
![Page 7: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/7.jpg)
BCS TOOLING SUPPORT
SharePoint Designer 2010 Visual Studio 2010
![Page 8: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/8.jpg)
EXTERNAL CONTENT TYPES
External Content Type (ECT) *formerly known as BDC Entity
External Data Source(WebService, DB, .Net
object, LOB system, Web 2.0 service, etc.)
Office Clients
BCS Client Describes the schema and data access capabilities of an external data source and its behavior within Office and SharePoint
SharePoint
BCS
CustomerFirstNameLastName
GetCustomer()GetCustomers()
UpdateCustomer()DeleteCustomer()
![Page 9: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/9.jpg)
PRESENTATION FEATURES• External Lists
• External Data Columns
• Business Data Web Parts
• External Content Type Picker
• External Item Picker
• Profile Pages
• Presentation Features in Office 2010
![Page 10: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/10.jpg)
EXTERNAL LISTS
• Expose external data as a native SharePoint list • Full CRUD capability
• Familiar UI and navigation
• Sort, Filter, Group
• Programmatic access via SPList OM
• Profile page available for each item in the list
• Form
• Auto-generated OOB
• Upsize to InfoPath
• Offline-able
![Page 11: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/11.jpg)
No Code Solutions
External Data Columns
External Lists
Chart Web Parts
Business Data Web Parts
- Business Data List/Related List
- Business Item Data Builder
- Business Data Item
Data Source Type- SQL, WCF Service, .NET Assembly
Custom Code
BDC Object Model
SharePoint Object Model
Client Object Model
Custom Connectors
NO CODE SOLUTIONS (VS) CUSTOM CODE
![Page 12: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/12.jpg)
BDC MODELS IN VISUAL STUDIO 2010
• BDC Model SharePoint Project Item (SPI)
• BDC Model Designer
• BDC Explorer
• Minimal XML editing
![Page 13: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/13.jpg)
CREATING BDC MODELS IN VISUAL STUDIO 2010
![Page 14: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/14.jpg)
AUTHENTICATION IN BCS
SharePoint Server
Legacy LOBWeb 2.0Claims Aware Service
Process Account
Logged-onuser
CredentialsTicketDelegation TokenOther
CredentialsApplicationDelegated
Token
SAML Token
BCSRuntime
Application
Web Part
External List
PassThrough (Uses logged-on user)RevertToSelf (Uses process account)SSO Authentication (Credentials, etc. from Secure Store)
Modes:
Secure Store Service
![Page 15: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/15.jpg)
SEARCHING EXTERNAL DATA
• Set ShowInSearchUI property in the LobSystemInstance
• Create Search Content Source
• Ensure Permissions are set
• Create ProfilePage Site
• Enable ProfilePages in BCS Central Admin
• Crawl
![Page 16: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/16.jpg)
SEARCHING EXTERNAL DATA USING BCS DEMO
![Page 17: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/17.jpg)
SUMMARY
• BCS Overview
• BCS Solutions
• Creating BDC Models• Create, Update, Delete
• Searching external data
![Page 19: Building Custom BCS .NET Connectors](https://reader036.vdocuments.net/reader036/viewer/2022081519/557ad6e3d8b42a85648b463c/html5/thumbnails/19.jpg)
Gold Sponsors
Silver Sponsors
Bronze Sponsors