SlideShare una empresa de Scribd logo
1 de 18
Advanced BCS: Business Data Connectivity Models and Custom Connectors Corey Roth SharePoint Solutions Architect Blog: www.dotnetmafia.com Twitter: @coreyroth
Corey Roth SharePoint Solutions Architect for Stonebridge Microsoft SharePoint MVP Specializing in ECM and Search Passed all SharePoint 2010 certification exams Microsoft Solutions Advocate E-mail: coreyroth@gmail.com Twitter: @coreyroth Blog: www.dotnetmafia.com Laptop: Dell E6510 i5 2.4 GHz 8GB Oracle VirtualBox 3.2.8 – 4GB on VM
Translation Guide
Business Connectivity Services No code connectivity to external data sources Full CRUD Support including reading and writing Built with SharePoint Designer 2010 Offline access via SharePoint Workspace Outlook Integration Searchable just like in MOSS 2007 Extensible with .NET Assembly Connectors and Custom Index Connectors
Extensibility Web Services – the old MOSS 2007 way (still viable) .NET Assembly Connector - relatively easy Custom Connectors - a bit harder Custom Index Connector - will earn you The Insane achievement Protocol Handlers – still around, but unmanaged code
Application Definition An XML file which defines an entity and various methods to interact with the entity (CRUD) XML describes the entity, multiple methods for that entity, and type descriptors for the in and return parameters Actions define the link that the user goes to for each item in BCS web parts or search results Possible to associate multiple entities together
Method Types SpecificFinder – returns a specifc item given an identifier Finder – returns all items Creator – creates a new item Updater – updates an existing item Deleter – deletes an existing item IdEnumerator – (somewhat deprecated)  - returns the value of all identifiers for crawling There are many more operations available to implement for advanced purposes
.NET Assembly Connector Built in Visual Studio 2010 with a designer (Business Data Connectivity Model) Write custom code to perform CRUD operations SharePoint Designer Support  Must have a known backend schema at compile time Recommended for external systems that are static External List support Administrator privileges not required Can be deployed using Visual Studio 2010
.NET Assembly Connector Demo
BCS Meta Man Successor to the BDC Meta Man used with MOSS 2007 Powerful no-code solution for generating BCS application definitions Helps quickly build .NET Assembly Connectors Integrated directly into Visual Studio 2010 Generates code for .NET assembly connectors which can then be customized for your own needs http://www.lightningtools.com/bcs/bcs-meta-man.aspx
BCS Meta Man Demo
BCS Meta Man Giveaway! Two free licenses given away in this session! Thanks @nickswan!
Custom Connector Used when the schema is not known at compile time Use Microsoft.BusinessData.Runtime.DynamicType class to build return parameter at run time No SharePoint Designer Support = create application definition XML manually Installed into Global Assembly Cache Deployed manually Provides ability to override default type reflector Requires administrator privileges Implement ISystemUtility, IDisposable, IConnectionManager, IAdministrableSystem interfaces
Custom Connector Demo
Custom Indexing Connector Effectively replaces custom protocol handlers in MOSS 2007 Provides search functionality only – no external lists Similar to a custom connector but requires additional classes to map BCS URLs to / from real URLs (INamingContainer, LobUri) Registered as a “protocol handler” in the registry with your own custom protocol (i.e.: myhandler://) Installed with New-SPEnterpriseSearchCrawlCustomConnector Attach to mssdmn.exe to debug
Custom Indexing Connector Demo
Resources Differences between .NET Assembly Connector and Custom Connectors http://msdn.microsoft.com/en-us/library/ee554911.aspx Implementing a Custom Connector http://msdn.microsoft.com/en-us/library/ff464382.aspx SharePoint Search Connector Framework http://msdn.microsoft.com/en-us/library/ee556429.aspx How to: Debug a Custom Index Connector http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/09/08/how-to-debug-a-custom-index-connector.aspx BCS Meta Man http://www.lightningtools.com/bcs/bcs-meta-man.aspx
Questions? Corey Roth Blog: www.dotnetmafia.com Twitter: @coreyroth

Más contenido relacionado

La actualidad más candente

It112 SharePoint 2010 Mythbusters
It112 SharePoint 2010MythbustersIt112 SharePoint 2010Mythbusters
It112 SharePoint 2010 Mythbusters
Spencer Harbar
 
sharepoint.microsoft.com
sharepoint.microsoft.comsharepoint.microsoft.com
sharepoint.microsoft.com
webhostingguy
 
Sp administration-training-prism
Sp administration-training-prismSp administration-training-prism
Sp administration-training-prism
Thuan Ng
 
Visio Services in SharePoint 2010
Visio Services in SharePoint 2010Visio Services in SharePoint 2010
Visio Services in SharePoint 2010
Alexander Meijers
 

La actualidad más candente (20)

It112 SharePoint 2010 Mythbusters
It112 SharePoint 2010MythbustersIt112 SharePoint 2010Mythbusters
It112 SharePoint 2010 Mythbusters
 
SharePoint Saturday Dayton 2012
SharePoint Saturday Dayton 2012SharePoint Saturday Dayton 2012
SharePoint Saturday Dayton 2012
 
sharepoint.microsoft.com
sharepoint.microsoft.comsharepoint.microsoft.com
sharepoint.microsoft.com
 
SPUnite17 External Sharing in SharePoint Online
SPUnite17 External Sharing in SharePoint OnlineSPUnite17 External Sharing in SharePoint Online
SPUnite17 External Sharing in SharePoint Online
 
Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2
Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2
Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2
 
Sp administration-training-prism
Sp administration-training-prismSp administration-training-prism
Sp administration-training-prism
 
Changes in SharePoint 2010 from MOSS 2007
Changes in SharePoint 2010 from MOSS 2007Changes in SharePoint 2010 from MOSS 2007
Changes in SharePoint 2010 from MOSS 2007
 
Going offline with share point workspace
Going offline with share point workspaceGoing offline with share point workspace
Going offline with share point workspace
 
AUC Tech-SP 2010
AUC Tech-SP 2010AUC Tech-SP 2010
AUC Tech-SP 2010
 
Claims-Based Identity in SharePoint 2010
Claims-Based Identity in SharePoint 2010Claims-Based Identity in SharePoint 2010
Claims-Based Identity in SharePoint 2010
 
Sharepoint and office 365 hybrid configuration from A to Z #spstoronto 2015
Sharepoint and office 365 hybrid configuration from A to Z   #spstoronto 2015Sharepoint and office 365 hybrid configuration from A to Z   #spstoronto 2015
Sharepoint and office 365 hybrid configuration from A to Z #spstoronto 2015
 
Worldwide Deployment
Worldwide DeploymentWorldwide Deployment
Worldwide Deployment
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the CloudSharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
 
SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store SharePoint 2010 - User Profile Store
SharePoint 2010 - User Profile Store
 
SPS Belgium 2015 - High-trust Apps for On-Premises Development
SPS Belgium 2015 -  High-trust Apps for On-Premises DevelopmentSPS Belgium 2015 -  High-trust Apps for On-Premises Development
SPS Belgium 2015 - High-trust Apps for On-Premises Development
 
The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)
 
Oracle WebCenter Content User Training
Oracle WebCenter Content User Training Oracle WebCenter Content User Training
Oracle WebCenter Content User Training
 
Building Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesBuilding Solutions With Business Connectivity Services
Building Solutions With Business Connectivity Services
 
Visio Services in SharePoint 2010
Visio Services in SharePoint 2010Visio Services in SharePoint 2010
Visio Services in SharePoint 2010
 
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
O365Con18 - External Collaboration with Azure B2B - Sjoukje ZaalO365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
 

Destacado

Custom Applications - What, When, and Why
Custom Applications - What, When, and WhyCustom Applications - What, When, and Why
Custom Applications - What, When, and Why
Greg Hurlman
 
Denah rumah hardi
Denah rumah hardiDenah rumah hardi
Denah rumah hardi
stia_hardi
 
Cyrulnik boris los patitos feos
Cyrulnik boris   los patitos feosCyrulnik boris   los patitos feos
Cyrulnik boris los patitos feos
Carlos Fuentes
 

Destacado (20)

Custom Applications - What, When, and Why
Custom Applications - What, When, and WhyCustom Applications - What, When, and Why
Custom Applications - What, When, and Why
 
SharePoint for ASP.Net Developers
SharePoint for ASP.Net DevelopersSharePoint for ASP.Net Developers
SharePoint for ASP.Net Developers
 
Cuida tu alimentacion
Cuida tu alimentacionCuida tu alimentacion
Cuida tu alimentacion
 
WTM | C-Magazine n.10
WTM | C-Magazine n.10WTM | C-Magazine n.10
WTM | C-Magazine n.10
 
Linkedin rekryteringslösningar lathund
Linkedin rekryteringslösningar lathundLinkedin rekryteringslösningar lathund
Linkedin rekryteringslösningar lathund
 
De la huerta a tu cesta
De la huerta a tu cestaDe la huerta a tu cesta
De la huerta a tu cesta
 
Denah rumah hardi
Denah rumah hardiDenah rumah hardi
Denah rumah hardi
 
Rural Opportunities at Griffith University
Rural Opportunities at Griffith UniversityRural Opportunities at Griffith University
Rural Opportunities at Griffith University
 
Jpph moa-02
Jpph moa-02Jpph moa-02
Jpph moa-02
 
Patito Feo
Patito FeoPatito Feo
Patito Feo
 
Jar 2012
Jar 2012Jar 2012
Jar 2012
 
Executive Summary: Taming organisational complexity
Executive Summary: Taming organisational complexityExecutive Summary: Taming organisational complexity
Executive Summary: Taming organisational complexity
 
BT-Watzke capsules and closures
BT-Watzke capsules and closuresBT-Watzke capsules and closures
BT-Watzke capsules and closures
 
Capacidad y habilidad del proceso, Ensayo sobre: El inaceptable costo de los ...
Capacidad y habilidad del proceso, Ensayo sobre: El inaceptable costo de los ...Capacidad y habilidad del proceso, Ensayo sobre: El inaceptable costo de los ...
Capacidad y habilidad del proceso, Ensayo sobre: El inaceptable costo de los ...
 
Doping 2010
Doping 2010Doping 2010
Doping 2010
 
Izar Cutting Tools Catálogo 2016 (usuario final) - Suministros Herco
Izar Cutting Tools Catálogo 2016 (usuario final) - Suministros HercoIzar Cutting Tools Catálogo 2016 (usuario final) - Suministros Herco
Izar Cutting Tools Catálogo 2016 (usuario final) - Suministros Herco
 
Cyrulnik boris los patitos feos
Cyrulnik boris   los patitos feosCyrulnik boris   los patitos feos
Cyrulnik boris los patitos feos
 
Normas ortográficas e morfolóxicas da lingua galega
Normas ortográficas e morfolóxicas da lingua galegaNormas ortográficas e morfolóxicas da lingua galega
Normas ortográficas e morfolóxicas da lingua galega
 
Télémédecine et autres prestations médicales électroniques
Télémédecine et autres prestations médicales électroniquesTélémédecine et autres prestations médicales électroniques
Télémédecine et autres prestations médicales électroniques
 
Coordenadas polares por alexis garcia
Coordenadas polares por alexis garciaCoordenadas polares por alexis garcia
Coordenadas polares por alexis garcia
 

Similar a Advanced BCS - Business Data Connectivity Models and Custom Connectors

SharePoint 2010
SharePoint 2010SharePoint 2010
SharePoint 2010
nplowman
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
MicrosoftFeed
 
Business Connectivity Services With Share Point 2010
Business Connectivity Services With Share Point 2010Business Connectivity Services With Share Point 2010
Business Connectivity Services With Share Point 2010
Alexander Meijers
 
A SharePoint Developers Guide to Project Server
A SharePoint Developers Guide to Project ServerA SharePoint Developers Guide to Project Server
A SharePoint Developers Guide to Project Server
Alexander Burton
 
Chris givens building custom service applications
Chris givens building custom service applicationsChris givens building custom service applications
Chris givens building custom service applications
Chris Givens
 

Similar a Advanced BCS - Business Data Connectivity Models and Custom Connectors (20)

Building Custom BCS .NET Connectors
Building Custom BCS .NET ConnectorsBuilding Custom BCS .NET Connectors
Building Custom BCS .NET Connectors
 
Data Centric Composites and mashups In SharePoint 2010
Data Centric Composites and mashups In SharePoint 2010Data Centric Composites and mashups In SharePoint 2010
Data Centric Composites and mashups In SharePoint 2010
 
SharePoint 2010
SharePoint 2010SharePoint 2010
SharePoint 2010
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
 
Taking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceTaking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices Conference
 
Office 2010 for IT Pros
Office 2010 for IT ProsOffice 2010 for IT Pros
Office 2010 for IT Pros
 
Customizing SharePoint Online
Customizing SharePoint OnlineCustomizing SharePoint Online
Customizing SharePoint Online
 
Business Connectivity Services With Share Point 2010
Business Connectivity Services With Share Point 2010Business Connectivity Services With Share Point 2010
Business Connectivity Services With Share Point 2010
 
SP2010 Developer Tools
SP2010 Developer ToolsSP2010 Developer Tools
SP2010 Developer Tools
 
What's New for SP2010 Devs
What's New for SP2010 DevsWhat's New for SP2010 Devs
What's New for SP2010 Devs
 
A SharePoint Developers Guide to Project Server
A SharePoint Developers Guide to Project ServerA SharePoint Developers Guide to Project Server
A SharePoint Developers Guide to Project Server
 
Share Talk
Share TalkShare Talk
Share Talk
 
The Microsoft AI platform: a State of the Union
The Microsoft AI platform: a State of the UnionThe Microsoft AI platform: a State of the Union
The Microsoft AI platform: a State of the Union
 
Microsoft .Net Framework 2 0
Microsoft .Net Framework 2 0Microsoft .Net Framework 2 0
Microsoft .Net Framework 2 0
 
Microsoft Data Access Technologies
Microsoft Data Access TechnologiesMicrosoft Data Access Technologies
Microsoft Data Access Technologies
 
Chris givens building custom service applications
Chris givens building custom service applicationsChris givens building custom service applications
Chris givens building custom service applications
 
VSTO + LOB Apps
VSTO + LOB AppsVSTO + LOB Apps
VSTO + LOB Apps
 
Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1Visual Studio 2010 RTMtoSP1
Visual Studio 2010 RTMtoSP1
 
VSTO + LOB Apps Information Matters
VSTO + LOB Apps Information MattersVSTO + LOB Apps Information Matters
VSTO + LOB Apps Information Matters
 
Office 365 for Developers
Office 365 for DevelopersOffice 365 for Developers
Office 365 for Developers
 

Más de Corey Roth

Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Corey Roth
 

Más de Corey Roth (20)

Introduction to Microsoft Teams and Office 365 Groups
Introduction to Microsoft Teams and Office 365 GroupsIntroduction to Microsoft Teams and Office 365 Groups
Introduction to Microsoft Teams and Office 365 Groups
 
Compliance and eDiscovery with Office 365
Compliance and eDiscovery with Office 365 Compliance and eDiscovery with Office 365
Compliance and eDiscovery with Office 365
 
Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013
Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013
Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013
 
Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...
Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...
Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...
 
Configuring SharePoint Search for an Optimal Document Management Experience
Configuring SharePoint Search for an Optimal Document Management ExperienceConfiguring SharePoint Search for an Optimal Document Management Experience
Configuring SharePoint Search for an Optimal Document Management Experience
 
Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013
Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013
Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013
 
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
 
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
 
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and LearnOffice 365 - Introduction to SharePoint Online Development - Lync and Learn
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
 
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
 
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
 
Making the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North AmericaMaking the Most of Search in SharePoint Online - TechEd North America
Making the Most of Search in SharePoint Online - TechEd North America
 
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...New SharePoint development features using Visual Studio 11 - San Antonio Shar...
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
 
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
 
Extending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partnersExtending SharePoint 2010 to your customers and partners
Extending SharePoint 2010 to your customers and partners
 
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
 
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest GroupGetting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
 
Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010Instant ECM with SharePoint 2010
Instant ECM with SharePoint 2010
 
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
 
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Advanced BCS - Business Data Connectivity Models and Custom Connectors

  • 1. Advanced BCS: Business Data Connectivity Models and Custom Connectors Corey Roth SharePoint Solutions Architect Blog: www.dotnetmafia.com Twitter: @coreyroth
  • 2. Corey Roth SharePoint Solutions Architect for Stonebridge Microsoft SharePoint MVP Specializing in ECM and Search Passed all SharePoint 2010 certification exams Microsoft Solutions Advocate E-mail: coreyroth@gmail.com Twitter: @coreyroth Blog: www.dotnetmafia.com Laptop: Dell E6510 i5 2.4 GHz 8GB Oracle VirtualBox 3.2.8 – 4GB on VM
  • 4. Business Connectivity Services No code connectivity to external data sources Full CRUD Support including reading and writing Built with SharePoint Designer 2010 Offline access via SharePoint Workspace Outlook Integration Searchable just like in MOSS 2007 Extensible with .NET Assembly Connectors and Custom Index Connectors
  • 5. Extensibility Web Services – the old MOSS 2007 way (still viable) .NET Assembly Connector - relatively easy Custom Connectors - a bit harder Custom Index Connector - will earn you The Insane achievement Protocol Handlers – still around, but unmanaged code
  • 6. Application Definition An XML file which defines an entity and various methods to interact with the entity (CRUD) XML describes the entity, multiple methods for that entity, and type descriptors for the in and return parameters Actions define the link that the user goes to for each item in BCS web parts or search results Possible to associate multiple entities together
  • 7. Method Types SpecificFinder – returns a specifc item given an identifier Finder – returns all items Creator – creates a new item Updater – updates an existing item Deleter – deletes an existing item IdEnumerator – (somewhat deprecated) - returns the value of all identifiers for crawling There are many more operations available to implement for advanced purposes
  • 8. .NET Assembly Connector Built in Visual Studio 2010 with a designer (Business Data Connectivity Model) Write custom code to perform CRUD operations SharePoint Designer Support Must have a known backend schema at compile time Recommended for external systems that are static External List support Administrator privileges not required Can be deployed using Visual Studio 2010
  • 10. BCS Meta Man Successor to the BDC Meta Man used with MOSS 2007 Powerful no-code solution for generating BCS application definitions Helps quickly build .NET Assembly Connectors Integrated directly into Visual Studio 2010 Generates code for .NET assembly connectors which can then be customized for your own needs http://www.lightningtools.com/bcs/bcs-meta-man.aspx
  • 11. BCS Meta Man Demo
  • 12. BCS Meta Man Giveaway! Two free licenses given away in this session! Thanks @nickswan!
  • 13. Custom Connector Used when the schema is not known at compile time Use Microsoft.BusinessData.Runtime.DynamicType class to build return parameter at run time No SharePoint Designer Support = create application definition XML manually Installed into Global Assembly Cache Deployed manually Provides ability to override default type reflector Requires administrator privileges Implement ISystemUtility, IDisposable, IConnectionManager, IAdministrableSystem interfaces
  • 15. Custom Indexing Connector Effectively replaces custom protocol handlers in MOSS 2007 Provides search functionality only – no external lists Similar to a custom connector but requires additional classes to map BCS URLs to / from real URLs (INamingContainer, LobUri) Registered as a “protocol handler” in the registry with your own custom protocol (i.e.: myhandler://) Installed with New-SPEnterpriseSearchCrawlCustomConnector Attach to mssdmn.exe to debug
  • 17. Resources Differences between .NET Assembly Connector and Custom Connectors http://msdn.microsoft.com/en-us/library/ee554911.aspx Implementing a Custom Connector http://msdn.microsoft.com/en-us/library/ff464382.aspx SharePoint Search Connector Framework http://msdn.microsoft.com/en-us/library/ee556429.aspx How to: Debug a Custom Index Connector http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/09/08/how-to-debug-a-custom-index-connector.aspx BCS Meta Man http://www.lightningtools.com/bcs/bcs-meta-man.aspx
  • 18. Questions? Corey Roth Blog: www.dotnetmafia.com Twitter: @coreyroth

Notas del editor

  1. Add animation to this slide
  2. Demo the XML file
  3. Add animation to this slide
  4. Demonstrate .NET Assembly ConnectorC:CodeProductsProducts.csproj
  5. Demonstrate BCS Meta Man
  6. Demonstrate Custom Connectors
  7. Demonstrate Custom Indexing Connectors