flexing sugar platform: session 9: flexing sugar platform how to take advantage of the viadeo...
DESCRIPTION
Build the power of the Viadeo professional social network and its 40+ millions users into your Sugar deployment. Join us to see a full integration of this social network, which includes viewing the activity feeds of your contacts, updating their profile information in Sugar and reaching their contact network without exiting your Sugar application.We will demonstrate a full, "upgrade safe" integration of Europe’s #1 social network, using the latest connector framework in Sugar 6.3/6.4. Access Viadeo functions with one click. Stay connected to your favorite social network. Have an activity watch through Sugar. Improve customer knowledge. And improve your network relationships.TRANSCRIPT
Flexing Sugar Platform
How to Take Advantage of the Viadeo Professional Social Network
Vincent ROLLINCédric MOURIZARD
Co-Founder & CTO - @vincentrollinLead developer - @cedricmourizardhttp://www.synolia.com - @synolia
http://slidesha.re/wVqkKi
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 2
Tweet: #SCON1204/08/2023 ©2012 SugarCRM Inc. All rights reserved. 3
April 2012
1st historical SugarCRM Partner in the World & SugarCRM leader in France since 2004
Specialized in high added value CRM projects (250+ SugarCRM Customers) and modules development (20+ module on SugarForge and SugarExchange)
Manage the French Sugar Community with 40,000 users
Active partner of Open+ developer program
Member of European SugarCRM Alliance
Tweet: #SCON1204/08/2023 ©2012 SugarCRM Inc. All rights reserved. 4
Tweet: #SCON12
Why, another connector?
SugarCRM includes a Cloud Connector Framework which provides capability :
To display a widget or retrieve data from sources for all users like Twitter widget or Hoovers data providerTo interact with External API to import data: Meetings, Document or Feeds with per-user login like GoToMeetings or LotusLive
VIADEO provides an API to gather info from your contact network
SynoViadeo aims to bridge themfor a better user experience
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 5
Tweet: #SCON12
How do we use the Sugar Cloud Connector Framework
Recipe:Declare an External Application source which provides:
Authentication method (OAuth with specifics for Viadeo API)Interfaced service (WebFeed implementation for the HomePage dashlet SugarFeed)Format calls and response to Web Services
Define the eapm connector (Ext App Provider Module):
Each user decide or not to connect to the Ext App SourceCreate the queries to External App SourceDisplay content like InsideView on Account and ContactManage import process
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 6
Tweet: #SCON12
The Viadeo graph API
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 7
Technical overview
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 8
Tweet: #SCON12
Files infrastructure
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 9
Upgrade safe implementation:
All files are in the custom directory:
Extend existing methodCreate new methods
Declare an External Application source
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 10
Tweet: #SCON12
ExtAPISynoViadeo purpose of this class
1. Overriding oauthLogin method to adapt it with Viadeo implementation
2. Implementing dedicated methods for the WebFeed connector
3. Format calls and response to Web Services
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 11
Tweet: #SCON12
ExtAPISynoViadeo class
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 12
Tweet: #SCON12
The usual authentication flow (used for twitter)
oAuth authentication flow
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 13
The viadeo authentication flow
Tweet: #SCON12
VIADEO authentication
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 14
Tweet: #SCON12
Management of the WebFeed
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 15
Tweet: #SCON12
Management of the WebFeed
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 16
Tweet: #SCON12
Management of the calls
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 17
Define the eapm connector
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 18
Tweet: #SCON12
EAPM Connector ext_eapm_synoviadeo class
1. Define on which modules the connector could be used
2. Display information on each module
3. Import contacts from social network
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 19
Tweet: #SCON12
Enable connector only on available modules
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 20
Tweet: #SCON12
Enable connector only on available modules
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 21
Tweet: #SCON12
Retrieve data and display them
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 22
Tweet: #SCON12
Retrieve data and display them
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 23
Tweet: #SCON12
Import my VIADEO contact network
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 24
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 25
Submit Session Feedback
Select the SugarCon Mobile App: 1) Tap on this session2) Tap on survey3) Submit your feedback
*Prizes for attendees who submit session feedback using the Mobile App
04/08/2023 ©2012 SugarCRM Inc. All rights reserved. 26
#SCON12