240 likes | 375 Views
What’s New? – BCS 2013. Brett Lonsdale. Brett Lonsdale. Co-founder of Lightning Tools One of the hosts on the SharePoint Pod Show Co-organizer of SharePoint Saturday UK Author of SharePoint 2010 Business Connectivity Services
E N D
What’s New? – BCS 2013 Brett Lonsdale
Brett Lonsdale • Co-founder of Lightning Tools • One of the hosts on the SharePoint Pod Show • Co-organizer of SharePoint Saturday UK • Author of SharePoint 2010 Business Connectivity Services • Author of SharePoint 2007 Developers Guide to the Business Data Catalog • Contributing author of many other books inc Admin Companions… • Twitter: @brettlonsdale
High Level View • External Data in SharePoint • External Data in the Client • Authentication Options • Secure Store • Windows Authentication • Revert To Self • Username & Password • Multiple Connectors • SQL • WCF • .NET Assembly • OData
Getting up to Speed • External Lists • Business Data Web Parts • Search • Business Data Column • User Profile Import • External Content Types • Tooling
Excel integration • One way sync with Excel • Used to have to codewith Visual Studio Tools for Office (VSTO)
Demo Syncing an External List with Microsoft Excel 2013
Connecting to External Data • SharePoint Designer • .NET Assembly • SQL Server • WCF Service • Visual Studio 2012 • Anything • OData (New)
OData • Open Data Protocol (Microsoft) • Can use without Microsoft technology • SQL Azure (Supports OData) • Plug Ins for Excel • MySQL, PHP, (OData tools) • GData (Google Equivalent)
CRUD • (Create Read Update Delete) • Querying • Path/Products(1) • Path/Products?filter=name eq ‘value’ • Path/Products?$Select • Path/Products?$Orderby • Path/Products?$top10 • Path/Products(1)?$Expand=Orders • Metadata • Path/Products?$metadata
OData • Open Data Protocol • Exchange Data Over the Web • Return Data • HTTP • JSON • ATOMPUB (ATOM Publishing Protocol) • Service End Point • Get Patch Post Delete
Deploy ECT’s as an App • No longer need to be Farm Solutions • Easier deployment • Better development environment
Demo Creating and deploying an ECT as an App using OData
Alerts and Events • External List Alerts • Enabled as a Feature • External List Event Receivers • Custom Code • Entity Event Receivers • Custom Code
Demo Enabling Alerts on an External List
External List Event Receivers • Item Added • Item Adding • Item is Updated • Item is Updating • ….
Remote External Event Receiver • Notification of a change in the underlying data source Data Source SharePoint Notification System http://msdn.microsoft.com/en-us/library/jj164024.aspx
Remote External Event Receiver • BDC Model with EventSubscriberEventUnSubscriber • Determine Underlying Changes (Service) • Receive & Record Subscriptions • SubscriptionID • Delivery Address • Event Type • Entity Name • Post Notifications to REST