Integrating Chatter with Cloud Productivity Tools

558 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
558
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Integrating Chatter with Cloud Productivity Tools

  1. 1. Integrating Chatter with CloudProductivity ToolsPatterns for Social SuccessMichael Topalovich, Delivered Innovation, CTO@topalovich
  2. 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. michael topalovichdelivered innovation@topalovich@DICloudApps
  4. 4. Design Pattern: RSS
  5. 5. Design Pattern: Email
  6. 6. Design Pattern: Web Hooks / Callbacks
  7. 7. Challenge: We don’t own these systems. It’s our job to connect the pieces.
  8. 8. Design Patterns: Force.com
  9. 9. Callout Interface Helper Trigger Business Listener Helper Logic InterfaceVisualForce EmailController HandlerScheduling Exception Serialization RSS Helper Handling + Parsing Interface
  10. 10. Cloud Productivity Tools • GitHub, Basecamp, ZenDesk Interfaces Service Interfaces • Web Services, RSS, SMTP Core Logic Core Logic • Business Rules, Utility ClassesOrchestration Orchestration • VisualForce Controllers, Triggers, Scheduling Chatter • Chatter Feed Writers
  11. 11. Callout Interface Helper Trigger Business Listener Helper Logic InterfaceVisualForce EmailController HandlerScheduling Exception Serialization RSS Helper Handling + Parsing Interface
  12. 12. CalloutInterfaceListenerInterface EmailHandler RSSInterface
  13. 13. Callout Callout InterfaceInterface • SOAP • RESTListenerInterface EmailHandler RSSInterface
  14. 14. CalloutInterfaceListener Listener InterfaceInterface • Simple web service classes for webhooks / callbacks EmailHandler RSSInterface
  15. 15. CalloutInterfaceListenerInterface Email Email HandlerHandler • Apex Email Services RSSInterface
  16. 16. CalloutInterfaceListenerInterface EmailHandler RSS RSS InterfaceInterface • RSS Feed Reader Class
  17. 17. Callout Interface Helper Trigger Business Listener Helper Logic InterfaceVisualForce EmailController HandlerScheduling Exception Serialization RSS Helper Handling + Parsing Interface
  18. 18. Business LogicException SerializationHandling + Parsing
  19. 19. Business Logic • End-to-End Process Management • Business Rules Business • Configuration Management Logic • Utility ClassesSerialization + Parsing Exception Handling
  20. 20. Business LogicSerialization Serialization + Parsing + Parsing • XML Serialization / Deserialization • JSON Serialization / Deserialization Exception Handling
  21. 21. Business LogicSerialization + Parsing Exception Exception Handling Handling • Error handling and messages • Logging and notifications
  22. 22. Callout Interface Helper Trigger Business Listener Helper Logic InterfaceVisualForce EmailController HandlerScheduling Exception Serialization RSS Helper Handling + Parsing Interface
  23. 23. Trigger HelperVisualForceControllerScheduling Helper
  24. 24. Trigger Helper • Abstraction of Trigger logic Trigger Helper • Invoke actions before / after DML operations • Process Trigger list / map to perform operationsVisualForceControllerScheduling Helper
  25. 25. Trigger Helper VisualForce ControllerVisualForce • Process events and actions to perform operationsController • Data input methods • Navigation methods • User interactionScheduling Helper
  26. 26. Trigger HelperVisualForceController Scheduling HelperScheduling • Implement Schedule interface Helper • Process integration events at configured polling intervals
  27. 27. core functions
  28. 28. API Concepts – Chatter Feeds  UserFeed  CollaborationGroupFeed  [Object]Feed • AccountFeed • OpportunityFeed • MyCustomObject__Feed A FeedItem represents an entry in the feed, including text posts, link posts, and content posts.
  29. 29. FeedItem – Supported calls  create()  delete()  describeSObjects()  getDeleted()  getUpdated()  query()  retrieve()  search()
  30. 30. FeedItem – Key Fields  ParentId • ID of the object type to which the FeedItem is related  Type • The type of FeedItem – TextPost - a direct text entry on a feed – LinkPost - a URL posting on a feed – ContentPost - an uploaded file on a feed  Body • The message that appears in the feedSource: SOAP API Developer’s Guide
  31. 31. FeedItem – LinkPost and ContentPost  LinkPost • LinkURL - The URL of a LinkPost  ContentPost • ContentData - The file uploaded to the feed • ContentDescription - The description of the file • ContentFileName – The name of the file uploaded to the feed – Setting ContentFileName automatically sets Type to ContentPostSource: SOAP API Developer’s Guide
  32. 32. Key Technical Considerations Limitations  People and records you can follow: 500  Groups you can join: 100  Groups in your organization: 10,000  Mentions in a single post or comment: 25  Characters in single post or comment: 1,000  File attachment size: 2 GBSource: Salesforce Help
  33. 33. eliminate information silos
  34. 34. find balance
  35. 35. T.M.I.
  36. 36. code samples
  37. 37. Adding a Text Post FeedItem post = new FeedItem(); post.ParentId = oId; post.Body = Enter post text here; insert post;Source: developerforce.com Chatter Code Recipes
  38. 38. Adding a Content Post FeedItem post = new FeedItem(); post.ParentId = oId; post.Body = Enter post text here; post.ContentData = base64EncodedFileData; post.ContentFileName = sample.pdf; insert post;Source: developerforce.com Chatter Code Recipes
  39. 39. Adding a Link Post FeedItem post = new FeedItem(); post.ParentId = oId post.Body = Enter post text here; post.LinkUrl = http://www.someurl.com; insert post;Source: developerforce.com Chatter Code Recipes
  40. 40. next steps
  41. 41. ideas.salesforce.com
  42. 42. #askforce#chatter#forcedotcom#salesforce
  43. 43. DELIVEREDINNOVATION.COM
  44. 44. Michael TopalovichCTO, Delivered Innovation @topalovich

×