Your SlideShare is downloading. ×
0
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
SharePoint 2010 Business Connectivity Services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

SharePoint 2010 Business Connectivity Services

1,402

Published on

SPS BCS talk for MSDN event in Irvine, CA April 2011

SPS BCS talk for MSDN event in Irvine, CA April 2011

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,402
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
30
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
  • Business Connectivity Services lives in the “Composites” section of the blue workloads circleComposites =Building robust business applications without any/much involvement from IT (IT Pros/developers)Easily integrate and consume external data not resident within SharePointAlso has a developer extensibility point to provide lots of customized options
  • Business Connectivity Services is composed of many piecesOffice Client – By connecting to SharePoint, Office clients can consume data from the external systemsSharePoint Server – SharePoint houses the external content types (ECTs) which is the backbone of the entire systemExternal Data – this is the source of where the data is coming from**SharePoint Foundation 2010 does not offer rich client extensions. To show external data to Microsoft Office clients, you must use Microsoft SharePoint Server 2010. Also, if you are using SharePoint Foundation 2010, you must create a Feature Event Receiver to enable the import of BDC models. How to create a Feature Event Receiver will be covered soon. Alternatively, you can use Microsoft SharePoint Server 2010 for development as it will deploy BDC models to the Metadata Store from Visual Studio without the need for additional code.
  • ListsUse BCS to populate Can update data in source systemSPS Server to take offline (to Outlook for ex.)Can NOT use workflowCan NOT use content types, versioning, check-in, & check-outColumnsUse BCS to populateCan be used by internal Lists onlySPS Server to display data in Word
  • This slide introduces the SharePoint Workspace as the primary client for SharePoint.
  • Sample Server-Side CodeIEntityect = catalog.GetEntity( "http://www.contoso.com/marketing", "Campaign");ILobSystem lob = ect.GetLobSystem();ILobSystemInstancelobi = lob.GetLobSystemInstances()["Advertising"];IFilterCollection filter = ect.GetDefaultFinderFilters();(Filter as ComparisonFilter).Value = "Spring Fling";IEntityInstanceEnumeratorects = ect.FindFiltered(filter, lobi);while (ects.MoveNext()){Console.WriteLine(ects.Current["CampaignName"].ToString());}
  • BCS is used for you to build an External Content Type in Visual Studio 2010 and deploy it to SharePoint Foundation 2010 and the code in the External Content Type retrieves the data which is then shown in a standard SharePoint list.SPMetalis included with SharePoint Foundation and is located in %ProgramFiles%\\Common Files\\Microsoft Shared\\web server extensions\\14\\BIN.ExampleSPMetal /web:http://ContosoServer/Marketing /code:MarketingSite.cs
  • Visual Studio 2010 BDC Designer allows you to develop, debug and deploy Business Data Connectivity Models using the External Systemtype “.NET Assembly Connector”.  This type is used for: Aggregation scenarios (across back-ends, across multiple calls to same backend, read from one back-end write to another) Custom/Complex Data Transformations, Custom Security (e.g. where SSO falls short)Custom Business Logic/Rules needed outside the back-end (don’t have good example of this)In addition Visual Studio 2010 BDC designer allows to import models created by SPD customize them, package them and deploy them through the Visual Studio
  • This object model is not available in SharePoint Foundation 2010Example<LobSystem Name="BdcModel1" Type="DotNetAssembly"> <LobSystemInstances> <LobSystemInstance Name="BdcModel1" > </LobSystemInstance> </LobSystemInstances> <Entities> <Entity Name="Product" Namespace=“MyConnector.BdcModel1“EstimatedInstanceCount="1000" Version="1.0.0.28"> <Properties> <Property Name="Class" Type="System.String"> MyConnector.BdcModel1.MyService, BdcModel1 </Property> </Properties>
  • BCS packaging tool - http://blogs.msdn.com/b/bcs/archive/2010/04/25/bcs-solution-packaging-tool.aspxDownload the tool - http://code.msdn.microsoft.com/odcsps14bcspkgtool
  • This slide explains the authentication story for BCS
  • Example of Search Security code<!-- BinarySecurityDescriptorAccessor --><MethodInstance Name="ReadSecurityDescriptorInstance" Type="BinarySecurityDescriptorAccessor“ ReturnParameterName="acl"> <Properties> <Property Name="WindowsSecurityDescriptorField" Type="System.String">SecurityDescriptor</Property> </Properties></MethodInstance><!-- Access Checker --><MethodInstance Name="CheckItemAccess“Type="AccessChecker"ReturnParameterName="result" />
  • Lynn
  • Transcript

    • 1. Business Connectivity Services for SPS 2010<br />Lynn Langit<br />Microsoft – Developer Evangelist<br />Blogs.msdn.com/SoCalDevGal<br />April 2011<br />
    • 2. SPS 2010 and BCS<br />Sites<br />NEW - Business Connectivity Services<br />Communities<br />Composites<br />Combine Internal (SharePoint) and External Data (LOB Systems)<br />Content<br />Insights<br />Superset of BDC<br />Search<br />
    • 3. What is BCS?<br />Surfaces External data to Office 2010 <br />Includes no code solutions<br />Includes Developer Extensibility<br />
    • 4. What is Business Data Connectivity?<br /><ul><li>Data from OUTSIDE of SharePoint
    • 5. Data which can be DISPLAYED inside of SPS or Office</li></li></ul><li>What is the Architecture of BCS?<br />Search, Workflow, Web Parts, R/W connections<br />Offline (uses SQL Compact)<br />
    • 6. BCS Features by SPS Edition<br />
    • 7. Types of Solutions<br />SharePoint Designer<br />
    • 8. Who Does What with BCS?<br />
    • 9. Getting Ready for BCS<br />Understanding Custom Content Types<br />Within SharePoint (display)<br />Inside of SharePoint Designer (create)<br />From Visual Studio 2010 (create)<br />
    • 10. What is a Custom Content Type?<br />A reusable schema (strongly typed) from SP Data<br />Usually used as metadata for lists<br />Created in SharePoint, SP Designer or VS<br />
    • 11. Editing Content Types in SP Designer<br />
    • 12. Content Type Modeling in VS 2010<br />
    • 13. Where can I display custom content?<br />Inside of SharePoint<br />Usually added to Lists<br />Online and connected<br />SharePoint Workspace<br />Usually added to Lists<br />Can be offline - *requires SharePoint Server<br />Office - *requires SharePoint Server<br />Word, Access, more<br />Requires custom code<br />
    • 14. Viewing Custom Content Types in SPS <br />
    • 15. Ready for BCS<br />Service must be enabled and started via the SharePoint management portal BEFORE you can create BDS model (external content types)<br />
    • 16. What is an External Custom Content Type?<br />Custom Content Type sourced from OUTSIDE SPS<br />ENTITIES - data access info (i.e. connection, security, data access permissions, type info)<br />BEHAVIORS - Includes information about data access from inside of SPS, Word, etc…- i.e. read or read/write) – <br />Usually used as metadata for lists or columns in SPS<br />Can also be displayed in Office applications (Outlook, Word…)<br />Can be offline<br />Can be updatable<br />Created in SharePoint, SP Designer or VS<br />
    • 17. Connecting to External Data<br />SharePoint Designer 2010 supports <br />SQL Server databases<br />Web and WCF services<br />.NET connectivity assemblies<br />SharePoint 2010 provides WCF adaptersfor<br />Oracle, SAP and Siebel<br />Other external systems <br />Edit the model XML (BDC) file in VS 2010<br />
    • 18. Creating External Content Types in SP Designer<br />
    • 19. Enabling Operations in SP Designer<br />
    • 20. Wizard<br />
    • 21. Manage and Secure<br />
    • 22. Bind Content to Form<br /><ul><li>From within SharePoint Designer
    • 23. Select the desired operation
    • 24. Can create InfoPath form</li></li></ul><li>External List Web Part in SPS<br />Designed to display External Content<br />New for SPS 2010<br />Can also display external content as an external column <br />
    • 25. Adding External Data to Columns<br />
    • 26. Viewing in SharePoint Workspace<br />Offline capable<br />InfoPath forms UI<br />Respects SPS view settings (filter/sort/group)<br />Error/conflict resolution<br />Search across external data<br />
    • 27. Challenges with No-Code Solutions<br />Subset of operations with no way to customize the implementation<br />No folder support<br />No attachment support<br />No search security support<br />No support for Word or Excel add-ins<br />
    • 28. Viewing in Word 2010<br />Requires SP Server<br />Create using Custom VSTO apps in VS<br />Use SPS Client-Side Object Model<br />
    • 29. Overcoming UI Limitations<br />Server-Side Object model<br />StreamAccessor method<br />
    • 30. Scenarios for Custom Coding<br />Aggregations of external data<br />Requiring multiple calls to source to complete<br />Requiring calls to different sources to complete<br />Complex Transformations<br />Requiring one or more transforms<br />Requiring dependent (transactional) transforms<br />Complex Access Checks<br />Requiring multiple or complex security checks<br />Requiring access mapping (credentials)<br />
    • 31. BCS in VS 2010<br />Also called working with .NET Connector Assemblies<br />
    • 32. SPS BCS Templates in VS 2010<br />
    • 33. Business Connectivity Services<br />BDC Designer allows you to develop, debug and deploy BDC Models <br />uses External System type “.NET Assembly Connector<br />Can import and customize models created in SP Designer<br />Visual designers in VS 2010<br />BDC Explorer<br />BDC method details<br />Tools to generate artifacts<br />To generate Classes use SPMetal– here<br />To generate Artifaces (i.e. Ribbon, etc..) use BCS Artifact Generator – here<br />To create Packages use BCS Package Tool – here<br />To create Excel Add-in use BCS Excel Add-in - here<br />
    • 34. VS 2010 BDC Designers<br />
    • 35. VS Entity Associations<br />
    • 36. BDC Object Model<br /><ul><li>BDC contains ONLY Metadata, no external data
    • 37. Access to this object model requires SharePoint Server</li></li></ul><li>View / Edit Code<br />
    • 38. VS Deployment <br />
    • 39. Data-Only Solutions<br />Used to set up subscription<br />Similar to “Sync to” options<br />Free tool from MSDN Code Gallery<br />
    • 40. BDC Server Authentication <br />SharePoint Server<br />2. Process Account<br />Modes:<br />1. PassThrough<br /> (logged-on user)<br />2. RevertToSelf<br /> (process account)<br />3. SSO Authentication <br /> (Credentials, etc. from <br /> Secure Store)<br />Application<br />CredentialsTicket<br />Delegation Token<br />WebPart<br />VL<br />1. Logged-onuser<br />BDC Server<br />Runtime<br />3. Secure Store<br />Service<br />Application<br />Delegated<br />Token<br />SAML<br />Token<br />Credentials<br />Claims Aware<br />Service<br />Web 2.0<br />External System<br />
    • 41. Secure Store Service<br />Maps credentials from user to external systems<br />
    • 42. BCS Security &.NET Connectors<br />
    • 43. SPS Designer vs. VS 2010<br />
    • 44. More Resources<br />Setting up a Developer Machine for SPS - here<br />External Content and SP Designer – here <br />MSDN Channel 9 course on SPS BCS - here<br />MSDN Code Samples for Solutions – here<br />SPS BCS team blog - here<br />
    • 45. TeachingKidsProgramming.org<br /><ul><li>Do a Recipe  Teach a Kid (Ages 10 ++)
    • 46. Free Courseware (recipes)
    • 47. Microsoft SmallBasic</li>

    ×