380 likes | 646 Views
Required Slide. SESSION CODE: OSP317. Outlook Social Connector: Deployment and Development Overview. John R. Durant Senior Product Manager Microsoft Corporation. Session Objectives and Takeaways. Session Objective(s): Identify the value proposition of the OSC
E N D
Required Slide SESSION CODE: OSP317 Outlook Social Connector:Deployment and Development Overview John R. Durant Senior Product Manager Microsoft Corporation
Session Objectives and Takeaways • Session Objective(s): • Identify the value proposition of the OSC • Understand how the OSC can integrate with social networks and LOB applications • Know what is required to implement, debug, and deploy an OSC provider • Key takeaway(s): • OSC adds value to Outlook by surfacing people-centric information from social networks and LOB applications • OSC providers built on an open extensibility model • No specific knowledge of Outlook APIs (MAPI and Outlook OM) is required to build a provider.
Agenda • Overview and mission • Guide to OSC UI • Partner landscape • OSC Future • Provider extensibility architecture • OSC provider interfaces • OSC XML schema and localization • Provider deployment and debugging
Overview The OSC brings people-centric data views into Outlook • Outlook “PIM” features • information about the people you work with: photos, titles, and status updates from various networks & sources • communications history: e-mail, meetings, attachments shared • Connect to Microsoft consumer & business networks • feeds from Windows Live and SharePoint 2010: see activity from Windows Live (Spaces, Skydrive, etc.) as well as SharePoint 2010 social activity (tagging, profile updates) • Open API for 3rd party network providers • connect to popular consumer social networks to view their feeds and activity • developers can write to the OSC API’s to connect to any network or LOB system to bring any people-centric stream into outlook 1 1 2 2 3 3
Outlook Social Connector John R. DurantSenior Product ManagerMicrosoft DEMO
yearbook view Guide to OSC UI maximized (single person) tabs people pane minimized (default) network badge (click for profile) add command (on network) thumbnails
Quick Takeaways • You can get started today! • Tell our social networking story with Office and SharePoint • Help your customers see the benefits of social in the 2010 wave • Explore customer internal/LOB systems that would be a good fit for the OSC • Evangelize consumer social networking in the enterprise • LinkedIn and MySpace have downloads available today • Facebook, Xing, OfficeTalk, and more are coming soon
Opportunity Landscape We classify our partnerships by their level of engineering support SharePoint LinkedIn 3rd parties In-house development MySpace Windows Live Facebook
Future The OSCis a core component of outlook that will evolve over time • The core OSC experience will grow to include deeper SN integration, feed aggregation, and more • As the OSC evolves, partners and developers will be able to leverage new APIs to deepen / enhance the experience inside Outlook • Feedback is welcome! • Email OSCPRX@Microsoft.com with ideas and concepts
Extensibility model the OSC has open API’s that allow anyone to build a provider for a social network or LOB application FooNet2 FooNet1 Add-In etc… FooNet1 Provider FooNet2 Provider FooNet3 Provider FooNet4 Provider Outlook Social Connector Core Engine Outlook 2003 / 2007 / 2010
OSC Provider Extensibility • Plan of record: Social network implements its own OSC provider • Provider is a COM-visible DLL loaded by OSC add-in running in-process with Outlook • To write a provider, use any development tool that can create a COM component DLL
OSC Interfaces (version 1.0) • ISocialProvider • Load, GetCapabilities, GetSession, SocialNetworkName • ISocialSession • Logon, LogonWeb, GetActivities, GetPerson • ISocialProfile::ISocialPerson • GetActivitiesOfFriendsAndColleagues • ISocialPerson • GetActivities, GetDetails, GetPicture
FooNet in the cloud FooNet FooNet Web Services / REST APIs Add-In FooNetProvider API GetCapabilities API Authenticate API Download Network Activity API Sync Contacts Outlook Social Connector Core Engine XML parsing and storage Outlook item creation and storage Outlook item data mining and WDS lookups Outlook Outlook Data File & Application
Test Provider John R. DurantSenior Product ManagerMicrosoft DEMO
Building a Provider • Microsoft Development Tools • Unmanaged C++ • Managed Visual C# • Managed Visual Basic .NET • Any development tool that supports creation of a COM-visible Windows class library component
Provider Extensibility TypeLib • Type Library: socialprovider.dll installed with OSC
Implementation • You write the implementation code that talks to your social network • Return Xml that conforms to OutlookSocialProvider.xsd • capabilities • friends/person • activityFeed • OSC surfaces person and activityFeed Xml as network contacts and activity items in people pane
Provider Authentication • ISocialProvider::GetCapabilitiessupports these authentication methods: • Basic (userName/password) ISocialSession::Logon • Forms-based (connectIn/connectOut) ISocialSession::LogonWeb • Credentials are cached and encrypted
Outlook 2010 (x86 and x64) • Office 2010 available in both 32-bit and 64-bit versions • Default install is 32-bit Office on 64-bit OS • Native providers • You must detect installed version of Outlook and install x86/x64 accordingly • Suggest building 32-bit OSC Provider as default and gauging interest in 64-bit • Managed providers – Compile w/ Any CPU option and one provider will run on x86/x64
LOB considerations • Business opportunity: Using OSC to surface contact and activity data for knowledge networks or LOB apps in the enterprise • Caveats • OSC is not a plug-in replacement for CRM • Contact sync brings down only a subset of basic contact fields to local network contact items • Custom contact properties not supported in v1 • RSS items are stored in hidden “News Feed” folder and cannot be customized with metadata or custom UI
Provider Templates John R. DurantSenior Product ManagerMicrosoft DEMO
Getting Started • Naming your provider • Managed versus Native Provider • Will the provider be downloaded? • Will you support Outlook 2010 x64? • XML parser issues • Determine your capabilities • On-demand versus cached contacts/activities • Authentication method • Write implementation code • Debug and deploy your provider
<activityTemplateContainer> <activityTemplateContainer> <applicationID>2</applicationID> <templateID>1</templateID> <activityTemplate> <type>Photo</type> <title>{publisher:Publisher} has a new profile photo: </title> <data>{list:ProfilePhoto({picture:Photo})}</data> <icon>http://www.microsoft.com/about/images/rss_button.gif</icon> </activityTemplate> </activityTemplateContainer>
Activity Localization • OSC supports Unicode (utf-16) • Provider detects the Outlook UI language based on languageTag (RFC 4646/4647) passed to ISocialProvider::Load • If your provider ships for multiple languages, you must localize templates • Pass localized templates back to ISocialSession::GetActivities or ISocialPerson::GetActivitiesOfFriendsOrColleagues
Provider Performance • OSC represents possible millions of hits per day on your servers • Approximately 20-50 million OSC users short term, 100-200 million long term • Approximately 25-50 pieces of mail per day per typical corporate user • For on-demand contact or activities sync, OSC makes network call each time people pane is refreshed • Mitigations that improve server scalability • Default interval: 30 minutes for ISocialPerson::GetActivitiesOfFriendsAndColleagues • In your provider, generate a unique userAgent that goes to the service to track OSC calls. • Threading model to improve provider performance • STA and MTA supported • See INFO: Descriptions and Workings of OLE Threading Models
Basic Deployment • Provider setup using your preferred installation tool • OSC will auto-detect installed provider • Required registry keys: • COM Registration of Provider DLL • Provider ProgID under HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\SocialConnector\SocialProviders or HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\SocialConnector\SocialProviders
Debugging • Over the wire tools • Fiddler • Wireshark • Using Visual Studio when developing a provider • On Debug tab, Start Action, Start External Program point to Outlook.exe, for example C:\Program Files\Microsoft Office\Office14\OUTLOOK.EXE • Set breakpoints in your code • On Debug menu, point to Start Debugging (F5) • OSC registry keys for debugging under HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\SocialConnector • DebugProviders (DWORD=1) – validate provider Xml using OutlookSocialConnector.xsd • ShowDebugButtons (DWORD=1) – show buttons on Ribbon
More debugging tips • If your provider caches activities, unhide the “News Feed” folder using MFCMAPI • “News Feed” under IPM_SUBTREE in default store • Change PR_ATTR_HIDDEN to false
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • For More Information – http://sharepoint.microsoft.com • SharePoint Developer Center – http://msdn.microsoft.com/sharepoint • SharePoint Tech Center – http://technet.microsoft.com/sharepoint • Official SharePoint Team Blog – http://blogs.msdn.com/sharepoint
Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Related Content • Breakout Sessions – See Conference Guide for full list of OSP Track Sessions • Interactive Sessions – OSP Track has 10 Interactive Sessions – OSP01-INT – OSP10-INT • Hands-on Labs – OSP01-HOL – OSP20-HOL • Product Demo Stations – Yellow Section, OSP • Office 2010, SharePoint 2010, Project Server 2010, Visio 2010 have kiosks and demos
Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year
Play the Microsoft Office & SharePoint Track Tag Contest Download the Microsoft Tag Reader Open the internet browser on your mobile phone and visit http://gettag.mobi Grand Prize (1) Xbox 360 Prize Package and Microsoft® Office 2010 Daily Prizes 40 copies of Microsoft® Office 2010 Come to the Expo Hall – Yellow Section OSP Info Desk for Official Rules & Collect Additional Tags!
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.