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

  1. In Siebel Tools, create a new workspace.
  2. Create a Web template file with a name of Twitter.swt and an empty div element.

    The file content follows:

    <div>

    </div>

  3. Complete the following steps to enter content in the empty div element:
    1. 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.

    1. After the script tag, copy and paste the generated code that appears when you complete Step 6 of Obtaining a Twitter Widget.
  4. Create an empty form applet with a name of Twitter, and complete the followings steps for this applet:
    1. Set the class name to CSSFrameBase.
    2. In the Base mode of the applet Web template, set the Web template you created in Step 2.
    3. Add the applet to the view where you want Tweets to appear.
  5. Deliver the changes to the Integration Branch.
  6. Clear the browser cache, and re-start Siebel Self Service.
Siebel Self Service Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.