On Demand Education Ltd - Siebel Cookbook Recipe 9 - Sentiment Analysis and CRM On Demand / OpenDover


Published on

Siebel Cookbook Recipe 9 from On Demand Education Ltd with a simple example of sentiment analysis using CRM On Demand and OpenDover. Go to www.ondemand-education.com/cookbook for more.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

On Demand Education Ltd - Siebel Cookbook Recipe 9 - Sentiment Analysis and CRM On Demand / OpenDover

  1. 1. Siebel Cookbook<br />Recipe Nine<br />
  2. 2. The Recipe<br />Implement a demonstration of Sentiment Analysis of Service Request description using OpenDover Web Service<br />
  3. 3. The Ingredients<br />Oracle CRM On Demand<br />OpenDover Web Service<br />Visual Studio<br />
  4. 4. Preparation<br />Before you begin, go to www.opendover.nl and follow the instructions to register as a Developer and obtain an API Key<br />All API calls need an API key<br />
  5. 5. Overview<br />The example will use a simple ASPX web page to pass the Service Request Description to OpenDover, and perform some simple extraction of data<br />The result will be displayed in an HTML window<br />The user will access it from a Web Link<br />
  6. 6. Part One<br />Create a New .NET Web Application<br />Add one Web Form<br />Add a Web Reference to http://developer.opendover.nl/files/opendover_api_v1_soap.wsdl<br />
  7. 7. Part Two<br />On the Web Form add one Table<br />In the Web Form Code, for the Page_Load event<br />Capture QueryString variable “SRData”<br />Dim mySRData As String = Request.QueryString("SRData") <br />Execute the rest of the code if SRData has some text in it<br />
  8. 8. Part Three<br />To Call the GetSentiment method<br />Import your OpenDover Types<br />Dim myWSCall As New OpenDoverService<br />Dim mySentimentResponse As New srchSentimentsResponse         <br />mySentimentResponse = myWSCall.searchSentiments(api, text) where api is your key and text is the text of your Service Request<br />
  9. 9. Part Four<br />Parse or display the response from the Web Service<br />By creating rows and cells in your table<br />By adding text to your page<br />However you wish to do it<br />
  10. 10. Part Five<br />Add a new Field for Service Request in your CRM On Demand<br />Type Web Link<br />URL http://yourserver/yourpage.aspx?SRData=%%%Description%%%<br />Open in new Window<br />
  11. 11. Part Six<br />Update the Service Request Detail Layout to include the new Field<br />Make sure the Page Layout is used in your Role Definition<br />
  12. 12. Part Seven<br />Create a new Service Request and in the Description field, enter text that uses keywords based on the current Domains that are supported (see http://developer.opendover.nl/) <br />For example <br />Health – Pharmaceuticals<br />Law<br />Product - Camera<br />Product - Car<br />Product - Computer<br />Product - Monitor<br />Etc etc<br />
  13. 13. Part Eight<br />Click your new Web Link<br />Observe the results of the Sentiment Analysis<br />
  14. 14. Part Nine<br />Enhance the popup Window<br />JavaScript<br />Or use the ODED Assistant to embed a button in CRM On Demand directly to a customizable pop-up window<br />
  15. 15. Conclusion<br />The OpenDover Web Service offers a useful way of implementing a Sentiment analysis functionality for Service Requests in CRM On Demand<br />Watch for enhancements and increased domain coverage at www.opendover.nl<br />
  16. 16. Files<br />Zip file <br />Visual Studio Files<br />Video of Result<br />