SlideShare une entreprise Scribd logo
1  sur  16
Advanced BDC/BCS
  Development



                                                        Scott Brickey
                                            SharePoint Practice Manager
                                   MCP, MCTS, MCITP, MCPD, SRSLY, WTF
          www.sds-consulting.com
  © 2012 Strategic Data Systems. All rights reserved.
          www.sds-consulting.com
About Us

SDS SharePoint Custom Solutions
Count on our Agile development and expert coding experience to create an optimal
solution for your unique SharePoint application and integration needs.

·   Business Process Automation with Workflow and InfoPath
·   SharePoint Business Intelligence and Reporting
·   Portals and Collaboration
·   Content Management
*Agile Practices for proven faster delivery, higher quality, & increased business value.

For twenty years, SDS has solved enterprise development challenges using coding
best practices. We deliver required functionality with
         · Exceptional code quality
        · Maintainability
        · Reliability



                                   www.sds-consulting.com
What is the BDC / BCS



•   Business Data is the data in Line Of Business systems
    • ERP, CRM, HR

•   SP2007 – Business Data Catalog
    • Expose the data
•   SP2010 – Business Connectivity Services
    • Connect the data
•   SP2013 – BCS improvements




                 www.sds-consulting.com
Why business data?

•   Data exists in many systems
    • ERP, CRM, HR

•   Employees must access them individually
    • User dissatisfaction

    •   Data is NOT always consistent
         • Which data is the MASTER data?

    •   Higher costs (training, licensing, compliance, etc)




                    www.sds-consulting.com
What can BCS provide?

•   Consistent user experience
    • SharePoint lists, lookup columns, InfoPath forms
    • SharePoint Workspace (offline access)
    • Office integration

•   Search indexing

•   Data Access
    • Client Side Object Model
    • Search Federation
    • 2013: REST

•   Identity / Authentication
    • Kerberos, Claims (WS-*, SAML), Secure Store
                 www.sds-consulting.com
BDC/BCS Architecture


•   Connectors
    • .Net assemblies (compiled code)
    • Select, Insert, Update, Delete
•   Metadata Model Files
    • Objects
       • Primary Keys
       • Searchable Fields
       • Operations
       • SharePoint Actions
    • Relationships
    • Settings / Parameters
               www.sds-consulting.com
Built In Connectors and Tools


•   Connectors
    • Web Service / WCF Service
    • SQL Database
    • .Net Assembly

•   Tools
    • SP Designer 2010
    • BDC Metaman


              www.sds-consulting.com
Built In Connectors – Limitations


•   Data structures are mapped “as-is”
    • Usually: good for WCF, bad for SQL

•   No support for “advanced” features
    • Batch commands (Bulk*)

•   Simple data types ONLY
    • No support for SQL geo/spatial data

•   Relationships ONLY via foreign keys
              www.sds-consulting.com
Custom Code


•   .Net Assembly Connector
    • Content Type  .Net Class
    • Operation  .Net Method
    • Base (template) model file + SPD model
     file
•   Custom Connector
    • Class which implements
       • ISystemUtility – BCS connector
       • IAdministrableSystem – Configuration
         options
    • Single model file
                www.sds-consulting.com
.Net Assembly Connectors


•   DLL stored in BDC database,
    automatically installed on clients

•   Simple mapping from .Net objects to
    external content types
    • Primitive structs ONLY
    • No generics
    • Code should be static

•   No awareness of metadata model files
              www.sds-consulting.com
Custom Connectors

•   DLL installed into SP, manual install onto clients

•   Custom data mapping of BDC/BCS objects
    • Code can be more flexible

•   Awareness and access to Model file

•   Multiple security options available
    • Revert To Self (system)
    • Passthrough (user)
    • SSO / Secure Store
    • Configuration parameters (cleartext!)


                  www.sds-consulting.com
Operations



•   Finder
                                       • Creator
     •   SELECT ALL
•   SpecificFinder                     • Updater
     •
•
         SELECT by Primary Key
    IDEnumerator
                                       • Deleter
     •   SELECT ALL Primary Keys
     •   Required for Search
         Indexing                      • EventSubscriber
•   StreamAccessor
                                       • EventUnsubscriber
•   AccessChecker
•   Bulk*



                           www.sds-consulting.com
DEMO




www.sds-consulting.com
References

•   Expert WSS 3 and MOSS 2007 Programming
    • Chapter 13, Pages 655 – 790
•   Differences Between using the .NET Assembly Connector
    and Writing a Custom Connector
    http://msdn.microsoft.com/en-us/library/ee554911.aspx
•   How to: Publish a .NET Connectivity Assembly to the BDC
    Metadata Store
    http://msdn.microsoft.com/en-us/library/ff464392
•   Code Snippet : Implementing a Custom Connector
    http://msdn.microsoft.com/en-us/library/ff464382.aspx
•   External Content Types in SP2013
    http://msdn.microsoft.com/en-
    us/library/jj163139(v=office.15).aspx
•   External events and alerts in SP2013
    http://msdn.microsoft.com/en-
    us/library/jj164024(v=office.15).aspx


                  www.sds-consulting.com
More Information

SDS SharePoint Webcast:
Sharing Business Insights – Integrating with Business
Intelligence Reports, 11/30
Visit http://sds-consulting.com to register
SharePoint Library for various components.
  http://SDSSharepointLibrary.codeplex.com/
SharePoint Lunch and Learns
Publications on the SDS website and blog
http://sds-consulting.com
Visit my blog at http://www.sbrickey.com



                       www.sds-consulting.com
Thank you.

                                  For more information please contact:
                                                        Scott Brickey
                                                       800-886-9405
                                    Scott.Brickey@sds-consulting.com

        www.sds-consulting.com
© 2012 Strategic Data Systems. All rights reserved.
        www.sds-consulting.com

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Dogfood 2012 - Advanced BDC/BCS Development

  • 1. Advanced BDC/BCS Development Scott Brickey SharePoint Practice Manager MCP, MCTS, MCITP, MCPD, SRSLY, WTF www.sds-consulting.com © 2012 Strategic Data Systems. All rights reserved. www.sds-consulting.com
  • 2. About Us SDS SharePoint Custom Solutions Count on our Agile development and expert coding experience to create an optimal solution for your unique SharePoint application and integration needs. · Business Process Automation with Workflow and InfoPath · SharePoint Business Intelligence and Reporting · Portals and Collaboration · Content Management *Agile Practices for proven faster delivery, higher quality, & increased business value. For twenty years, SDS has solved enterprise development challenges using coding best practices. We deliver required functionality with · Exceptional code quality · Maintainability · Reliability www.sds-consulting.com
  • 3. What is the BDC / BCS • Business Data is the data in Line Of Business systems • ERP, CRM, HR • SP2007 – Business Data Catalog • Expose the data • SP2010 – Business Connectivity Services • Connect the data • SP2013 – BCS improvements www.sds-consulting.com
  • 4. Why business data? • Data exists in many systems • ERP, CRM, HR • Employees must access them individually • User dissatisfaction • Data is NOT always consistent • Which data is the MASTER data? • Higher costs (training, licensing, compliance, etc) www.sds-consulting.com
  • 5. What can BCS provide? • Consistent user experience • SharePoint lists, lookup columns, InfoPath forms • SharePoint Workspace (offline access) • Office integration • Search indexing • Data Access • Client Side Object Model • Search Federation • 2013: REST • Identity / Authentication • Kerberos, Claims (WS-*, SAML), Secure Store www.sds-consulting.com
  • 6. BDC/BCS Architecture • Connectors • .Net assemblies (compiled code) • Select, Insert, Update, Delete • Metadata Model Files • Objects • Primary Keys • Searchable Fields • Operations • SharePoint Actions • Relationships • Settings / Parameters www.sds-consulting.com
  • 7. Built In Connectors and Tools • Connectors • Web Service / WCF Service • SQL Database • .Net Assembly • Tools • SP Designer 2010 • BDC Metaman www.sds-consulting.com
  • 8. Built In Connectors – Limitations • Data structures are mapped “as-is” • Usually: good for WCF, bad for SQL • No support for “advanced” features • Batch commands (Bulk*) • Simple data types ONLY • No support for SQL geo/spatial data • Relationships ONLY via foreign keys www.sds-consulting.com
  • 9. Custom Code • .Net Assembly Connector • Content Type  .Net Class • Operation  .Net Method • Base (template) model file + SPD model file • Custom Connector • Class which implements • ISystemUtility – BCS connector • IAdministrableSystem – Configuration options • Single model file www.sds-consulting.com
  • 10. .Net Assembly Connectors • DLL stored in BDC database, automatically installed on clients • Simple mapping from .Net objects to external content types • Primitive structs ONLY • No generics • Code should be static • No awareness of metadata model files www.sds-consulting.com
  • 11. Custom Connectors • DLL installed into SP, manual install onto clients • Custom data mapping of BDC/BCS objects • Code can be more flexible • Awareness and access to Model file • Multiple security options available • Revert To Self (system) • Passthrough (user) • SSO / Secure Store • Configuration parameters (cleartext!) www.sds-consulting.com
  • 12. Operations • Finder • Creator • SELECT ALL • SpecificFinder • Updater • • SELECT by Primary Key IDEnumerator • Deleter • SELECT ALL Primary Keys • Required for Search Indexing • EventSubscriber • StreamAccessor • EventUnsubscriber • AccessChecker • Bulk* www.sds-consulting.com
  • 14. References • Expert WSS 3 and MOSS 2007 Programming • Chapter 13, Pages 655 – 790 • Differences Between using the .NET Assembly Connector and Writing a Custom Connector http://msdn.microsoft.com/en-us/library/ee554911.aspx • How to: Publish a .NET Connectivity Assembly to the BDC Metadata Store http://msdn.microsoft.com/en-us/library/ff464392 • Code Snippet : Implementing a Custom Connector http://msdn.microsoft.com/en-us/library/ff464382.aspx • External Content Types in SP2013 http://msdn.microsoft.com/en- us/library/jj163139(v=office.15).aspx • External events and alerts in SP2013 http://msdn.microsoft.com/en- us/library/jj164024(v=office.15).aspx www.sds-consulting.com
  • 15. More Information SDS SharePoint Webcast: Sharing Business Insights – Integrating with Business Intelligence Reports, 11/30 Visit http://sds-consulting.com to register SharePoint Library for various components. http://SDSSharepointLibrary.codeplex.com/ SharePoint Lunch and Learns Publications on the SDS website and blog http://sds-consulting.com Visit my blog at http://www.sbrickey.com www.sds-consulting.com
  • 16. Thank you. For more information please contact: Scott Brickey 800-886-9405 Scott.Brickey@sds-consulting.com www.sds-consulting.com © 2012 Strategic Data Systems. All rights reserved. www.sds-consulting.com