Siebel Self Service Administration Guide > Configuring Siebel Self Service > Setting Up the Applet for Twitter >
Displaying the Twitter Widget in Siebel Self Service
After you obtain the Twitter widget from Twitter, you display that widget in a form applet in Siebel Self Service. To display the Twitter widget in Siebel Self Service
- In Siebel Tools, create a new workspace.
- Create a Web template file with a name of Twitter.swt and an empty div element.
The file content follows:
<div>
</div>
- Complete the following steps to enter content in the empty div element:
- Enter the following script tag in the empty div element:
<script>
twtr=document.get.ElementById ("widgetID ")
if(twtr){
twtr.remove();
twtr=null;
}
</script>
where:
widget ID is the widget ID that you note in Step 7 of Obtaining a Twitter Widget.
- After the script tag, copy and paste the generated code that appears when you complete Step 6 of Obtaining a Twitter Widget.
- Create an empty form applet with a name of Twitter, and complete the followings steps for this applet:
- Set the class name to CSSFrameBase.
- In the Base mode of the applet Web template, set the Web template you created in Step 2.
- Add the applet to the view where you want Tweets to appear.
- Deliver the changes to the Integration Branch.
- Clear the browser cache, and re-start Siebel Self Service.
|