19
BUILDING CUSTOM BCS CONNECTORS Chakkaradeep Chandran (Chaks) Consultant, Microsoft NZ

Building Custom BCS .NET Connectors

Embed Size (px)

DESCRIPTION

Building Custom BCS .NET Connectors

Citation preview

Page 1: Building Custom BCS .NET Connectors

BUILDING CUSTOM BCS CONNECTORS

Chakkaradeep Chandran (Chaks)

Consultant, Microsoft NZ

Page 2: Building Custom BCS .NET Connectors

AGENDA

• BCS Overview

• BCS Solutions

• Creating BDC Models• Create, Update, Delete

• Searching external data

• More demos…

Page 3: Building Custom BCS .NET Connectors

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

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

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

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

BCS TOOLING SUPPORT

SharePoint Designer 2010 Visual Studio 2010

Page 8: Building Custom BCS .NET Connectors

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

Email

GetCustomer()GetCustomers()

UpdateCustomer()DeleteCustomer()

Page 9: Building Custom BCS .NET Connectors

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

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

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

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

CREATING BDC MODELS IN VISUAL STUDIO 2010

Page 14: Building Custom BCS .NET Connectors

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

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

SEARCHING EXTERNAL DATA USING BCS DEMO

Page 17: Building Custom BCS .NET Connectors

SUMMARY

• BCS Overview

• BCS Solutions

• Creating BDC Models• Create, Update, Delete

• Searching external data

Page 18: Building Custom BCS .NET Connectors

[email protected]

http://www.chakkaradeep.com

THANK YOU

Page 19: Building Custom BCS .NET Connectors

Gold Sponsors

Silver Sponsors

Bronze Sponsors