Flexing Sugar Platform: Session 1 - Boost Your Business by Using your SAP Data Efficiently
Flexing Sugar Platform: Session 9: Flexing Sugar Platform How to Take Advantage of the Viadeo...
-
Upload
sugarcrm -
Category
Technology
-
view
1.639 -
download
4
description
Transcript of Flexing Sugar Platform: Session 9: Flexing Sugar Platform How to Take Advantage of the Viadeo...
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