Fabian Williams SharePoint Saturday New York BCS Deck

1,169 views
1,110 views

Published on

SharePoint Saturday New York 7/31/2010 Deck by Fabian Williams delivered.

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,169
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Fabian Williams SharePoint Saturday New York BCS Deck

  1. 1. Getting to know Business Connectivity Services (BCS) Using Visual Studio 2010<br />SharePoint Saturday New York<br />Presenter: Fabian Williams<br />
  2. 2. Twitter: @fabianwilliams<br />Blog (old): http://FabianGWilliams.wordpress.com<br />Blog (new): http://www.sharepointfabian.com/blog<br />Web Site: http://www.adotob.com<br />Facebook: http://www.facebook.com/fabianwilliams<br />Linked In: http://www.linkedin.com/in/fabiangwilliams<br />Fabian is a Technical Lead and SharePoint Architect for CDW Advanced Technology Services SharePoint Practice. He is based out of Herndon, Va. Prior to CDW, Fabian was the CTO for WING, Inc. Recently, he was the Chief Internet Developer for the Department of Defense's Global Emerging Infections System and a Sales Engineer at Citrix Incorporated<br />
  3. 3. Agenda<br />What is BCS & Why do you want to know it<br />What problems does BCS Solve<br />Our Scenario, Dry Run and Illustrated Gotchas! <br />Demo<br />Inspect the LOB System<br />Crack Open Visual Studio<br />Model our BCS Operation<br />Code our Solution<br />Publish our Solution<br />Permissioning <br />Consume our External Content Type<br />Q & A<br />
  4. 4. What is Business Connectivity Services What Problems does it Solve<br />Formerly Named Business Data Catalog<br />Read/Write Access to External Data<br />Create No-Code and Code Solutions to LOB Systems<br />Island of Information Challenges<br />Overhead for IT to Service Requests<br />Managing Security, Auditing, Connectivity<br />Complex/Multiple UI for LOB Systems<br />Timely Access to Data<br />Searchability<br />
  5. 5. What is Baked Into the Product – Bag of Tricks so to speak<br />SharePoint Server 2010<br />Office 2010<br />Secure Store Service<br />External Data Search<br />Rich Client Extensions<br />BDC Client Runtime<br />External Data Web Parts<br />Profile Pages<br />SharePoint Foundation 2010<br />External List<br />External Data Column<br />Business Data Connectivity Service<br />
  6. 6. BCS is for “Everyone”<br /><ul><li>Custom connectivity for data aggregation, transformation, security, etc.
  7. 7. Use custom code to integrate data into any Office app
  8. 8. Business logic in forms
  9. 9. Create reusable components (UI parts, ECTs, actions)
  10. 10. Customize
  11. 11. InfoPath forms
  12. 12. Workflow
  13. 13. Web Part Pages
  14. 14. Outlook taskpane and ribbon
  15. 15. Out-of-box
  16. 16. Surface data in External Lists
  17. 17. Connect those lists to Outlook, SPW
  18. 18. External Data Columns</li></ul>Intermediate<br />Simple<br />Advanced<br />NO CODE*<br />CODE<br />SharePoint Designer<br />SharePoint SDK<br />Visual<br />Studio<br />Advanced Developer<br />Developer<br />Power User<br />Blog: http://fabiangwilliams.wordpress.com Twitter: @fabianwilliams<br />
  19. 19. Gotcha # 1<br />Make sure that you choose .NET Framework 3.5 when you are setting up your Project so you get the correct templates<br />
  20. 20. Gotcha #2 – but more of a call out not a Gotcha<br />If always been asked…”Can you do a BCS Solution as a Sandboxed Solution” .. The answer is NO… because the nature of Sandboxed Solution is that it does not go ANYWHERE beyond the SC and Content Database<br />
  21. 21. Gotcha # 3 – again more of a Callout<br />Under your BdcModel1, unless you plan to use the Entity1 Class i.e. you are creating your own object and plan to user the EntityService Class, go ahead and delete them in lieu of the one you will create yourself<br />
  22. 22. Gotcha # 4 <br />Ensure to change your Type Name for your “Read Item” Method List Entity so that your code will know from which type it inherits from to the Current Project and BDC Entity<br />
  23. 23. Gotcha # 4 <br />Ensure that your Rename your ‘Generic’ BCS Model, LOBSystem, LOB System Instances Name to something more representative of what you are doing. Why, For Nomenclature Reasons but more so for Namespace Reasons when using the External Content Types<br />
  24. 24. Gotcha # 5<br />Ensure to set the ETC Permissions once you Deploy your solution; otherwise you will get the “Access is Denied by the BDC” error when you try to render your External List<br />
  25. 25. Parting Knowledge/Disclaimer/ Managing Expectations<br />Don’t be afraid of the 14-Root/Hive Log Files when you get Errors, the Correlation ID is your friend  and we may see some in todays LIVE demo…<br />I have found that if you don’t have a Root Web in your Top Level Site Collection; lets say if you use just managed paths below it and you try to deploy a BCS Solution it says it cant find the Web<br />Remember! You cannot update a View that affects Multiple Tables, consider this when you create an External Content Type that spans two tables via a View unless you meet certain requirements… http://msdn.microsoft.com/en-us/library/k625abw5(VS.80).aspx <br />
  26. 26. Demo<br />
  27. 27. Q & A<br />

×