Siebel Cookbook<br />Recipe Seven<br />
The Recipe<br />Use Twitter and Siebel Workflow to enable recovery of recent Tweets<br />For any user with a Tweet Usernam...
The Ingredients<br />Microsoft Visual Basic<br />TwitterVB Library<br />Siebel Workflow<br />
Preparation<br />You will need a Twitter account to be able to search other user’s Tweets<br />http://www.twitter.com<br />
Preparation 2<br />You will need to register an Application on Twitter<br />http://dev.twitter.com/apps<br />Read Only is ...
Preparation 3<br />Make sure you have a working Siebel Tools and Sample database, take a backup before you begin<br />Make...
Part One<br />Create a simple VB application that <br />Authenticated you if it is the first time you use the application<...
Part Two<br />In your VB Project, create a Form with a Data Source and DataGridView to display existing Siebel Contact dat...
Part Three<br />Click the Connect button to get an Authorization Link and display it<br />After clicking the link, users a...
Part Four<br />Using TwitterVB<br />Recover tweets from the timeline for a specific user<br />Since the last one recorded<...
Part Five<br />The output is created as an XML file<br />You will need the XSD file (use XSD.exe or some other tool to gen...
Part Six<br />Create a Siebel EAI Data Map between your External Integration Object and a standard Siebel Integration Obje...
Part Seven<br />Create a Siebel Workflow<br />Add Business Services <br />EAI File Transport<br />EAI XML Converter<br />E...
Part Eight<br />Populate the Input and Output Property Sets of the Business Services<br />A copy of a Sample Workflow is i...
Part Nine<br />Run your VB Applet<br />Enter a new Tweet using one of the Tweet Usernames of your Contact<br />In the exam...
Part Ten<br />Check XML file has been created<br />Note the XML includes the Row Id of the Contact to enable us toassociat...
Part Eleven<br />Simulate the Workflow to load the XML file, and insert the resulting mapped data into a new Activity<br />
Conclusion<br />We used Siebel Workflow to import an XML file and parse the contents, inserting a new Activity for a Conta...
Files<br />Zip file <br />With VB Project folder<br />With SIF file for Integration Objects<br />With XML File for Workflo...
Files to Change<br />In Zip<br />App.Config – to change the SIEBELDB connection String<br />Form1.vb – to change the API k...
Upcoming SlideShare
Loading in …5
×

On Demand Education Ltd - Siebel Cookbook 7 - Siebel Enterprise and Twitter

1,186 views

Published on

http://www.ondemand-education.com/enu/Cookbook/tabid/59/Default.aspx

Sandbox example of concepts relating to integration of Siebel Enterprise and Twitter

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,186
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

On Demand Education Ltd - Siebel Cookbook 7 - Siebel Enterprise and Twitter

  1. 1. Siebel Cookbook<br />Recipe Seven<br />
  2. 2. The Recipe<br />Use Twitter and Siebel Workflow to enable recovery of recent Tweets<br />For any user with a Tweet Username stored in Siebel<br />
  3. 3. The Ingredients<br />Microsoft Visual Basic<br />TwitterVB Library<br />Siebel Workflow<br />
  4. 4. Preparation<br />You will need a Twitter account to be able to search other user’s Tweets<br />http://www.twitter.com<br />
  5. 5. Preparation 2<br />You will need to register an Application on Twitter<br />http://dev.twitter.com/apps<br />Read Only is sufficient<br />
  6. 6. Preparation 3<br />Make sure you have a working Siebel Tools and Sample database, take a backup before you begin<br />Make sure you have a working Twitter Account and have registered an Application to get your Consumer Key and Secret<br />
  7. 7. Part One<br />Create a simple VB application that <br />Authenticated you if it is the first time you use the application<br />Stores your authentication<br />Logs in to Twitter<br />Queries for Tweets from a User’s timeline<br />Send them to an XML file<br />
  8. 8. Part Two<br />In your VB Project, create a Form with a Data Source and DataGridView to display existing Siebel Contact data, for reference purposes<br />
  9. 9. Part Three<br />Click the Connect button to get an Authorization Link and display it<br />After clicking the link, users are given a Key to paste into the Text Box<br />Click Validate <br />
  10. 10. Part Four<br />Using TwitterVB<br />Recover tweets from the timeline for a specific user<br />Since the last one recorded<br />You could optionally search for tweets with a certain keyword<br />
  11. 11. Part Five<br />The output is created as an XML file<br />You will need the XSD file (use XSD.exe or some other tool to generate it) for Siebel Tools<br />Import the XSD file into Siebel Tools Sample to create the Integration Object<br />
  12. 12. Part Six<br />Create a Siebel EAI Data Map between your External Integration Object and a standard Siebel Integration Object based on the Action Business Object<br />
  13. 13. Part Seven<br />Create a Siebel Workflow<br />Add Business Services <br />EAI File Transport<br />EAI XML Converter<br />EAI Data Transformation Engine<br />EAI Siebel Adapter<br />
  14. 14. Part Eight<br />Populate the Input and Output Property Sets of the Business Services<br />A copy of a Sample Workflow is in the ZIP file<br />
  15. 15. Part Nine<br />Run your VB Applet<br />Enter a new Tweet using one of the Tweet Usernames of your Contact<br />In the example, Siebel Administrator has a twitter name of trickshot251 <br />Check Debug window<br />
  16. 16. Part Ten<br />Check XML file has been created<br />Note the XML includes the Row Id of the Contact to enable us toassociate the newActivity<br />
  17. 17. Part Eleven<br />Simulate the Workflow to load the XML file, and insert the resulting mapped data into a new Activity<br />
  18. 18. Conclusion<br />We used Siebel Workflow to import an XML file and parse the contents, inserting a new Activity for a Contact<br />CAVEAT<br />The VB code is not finished – but a good start<br />You will need to replace the Twitter App details<br />You will need to configure the SIEBELDB connection string<br />
  19. 19. Files<br />Zip file <br />With VB Project folder<br />With SIF file for Integration Objects<br />With XML File for Workflow<br />With XML File for Data Map<br />With XSD File<br />
  20. 20. Files to Change<br />In Zip<br />App.Config – to change the SIEBELDB connection String<br />Form1.vb – to change the API key information for your Twitter Application<br />

×