SP24S088 - Custom Indexing Connectors - How to integrate external systems into SharePoint Search
Building Custom BCS .NET Connectors
-
Upload
chakkaradeep-chandran -
Category
Technology
-
view
2.512 -
download
3
description
Transcript of Building Custom BCS .NET Connectors
BUILDING CUSTOM BCS CONNECTORS
Chakkaradeep Chandran (Chaks)
Consultant, Microsoft NZ
AGENDA
• BCS Overview
• BCS Solutions
• Creating BDC Models• Create, Update, Delete
• Searching external data
• More demos…
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
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
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
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
BCS TOOLING SUPPORT
SharePoint Designer 2010 Visual Studio 2010
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()
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
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
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
BDC MODELS IN VISUAL STUDIO 2010
• BDC Model SharePoint Project Item (SPI)
• BDC Model Designer
• BDC Explorer
• Minimal XML editing
CREATING BDC MODELS IN VISUAL STUDIO 2010
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
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
SEARCHING EXTERNAL DATA USING BCS DEMO
SUMMARY
• BCS Overview
• BCS Solutions
• Creating BDC Models• Create, Update, Delete
• Searching external data
Gold Sponsors
Silver Sponsors
Bronze Sponsors