CinSPUG - 2012-10-04 - Advanced BDC/BCS Development

  • 255 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
255
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Advanced BDC/BCS Development Scott Brickey SharePoint Practice Manager MCP, MCTS, MCITP, MCPD, SRSLY, WTF www.sds-consulting.com © 2008 Strategic Data Systems. All rights reserved. www.sds-consulting.com
  • 2. Strategic Data SystemsSDS SharePoint Custom SolutionsCount on our Agile development and expert coding experience to create an optimalsolution 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 codingbest practices. We deliver required functionality with · Exceptional code quality · Maintainability · Reliability www.sds-consulting.com
  • 3. What is BCS and what does it do?• Business Connectivity Services • Formerly the Business Data Catalog• Business Data Catalog features • Required SharePoint Enterprise Edition • READ from the external system • Supported by SharePoint Search• New in BCS • Supported in SharePoint Foundation • READ + WRITE support www.sds-consulting.com
  • 4. 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
  • 5. Built In Connectors and Tools• Connectors • Web Service / WCF Service • SQL Database • .Net Assembly• Tools • SP Designer 2010 • BDC Metaman www.sds-consulting.com
  • 6. Custom Code with Connectors• .Net Assembly Connector • BCS Object  .Net Class • BCS 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
  • 7. .Net Assembly Connectors• DLL stored in BDC database, automatically installed on clients• One-to-one mapping between .Net objects and BDC/BCS objects • Code should be static• No awareness of metadata model files www.sds-consulting.com
  • 8. 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
  • 9. Operations• Finder • SELECT ALL• SpecificFinder • SELECT by Primary Key• IDEnumerator • SELECT ALL Primary Keys • Required for Search Indexing• StreamAccessor• AccessChecker• Creator• Updater• Deleter www.sds-consulting.com
  • 10. DEMOwww.sds-consulting.com
  • 11. 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 www.sds-consulting.com
  • 12. SDS SharePoint Library http://SDSSharePointLibrary.codeplex.com/• Access Checker• File Upload Web Part• Replace Document• Password Change Web Part• SP Designer Workflow Conditions• More to come! • SP List BCS Connector • Xml SiteMap www.sds-consulting.com
  • 13. Thank you. For more information please contact: Scott Brickey 800-886-9405 Scott.Brickey@sds-consulting.com www.sds-consulting.com© 2008 Strategic Data Systems. All rights reserved. www.sds-consulting.com