Siebel Analytics User Guide > Working with Siebel Analytics Views in Siebel Answers >

Adding Markup Text to Results Using Siebel Analytics Static Text View


Use the static text view to add or edit markup text to appear with the results. You can add markup text that contains formatted text, ActiveX controls or JavaScripts, sound bites, animation, specialized logos, and so on. The markup text may contain anything that is supported by your browser.

This section provides the procedure to add or modify a static text view and some examples of static text. If you find an example that is similar to what you want to do, you can copy it and tailor it to your needs.

To add or modify a Siebel Analytics static text view

  1. In Siebel Answers, create or modify the request with which you want to work, and then perform one of the following actions:
    • To add a new static text view, click the Results tab and choose Other Views > Static Text from the views drop-down list.
    • To edit an existing static text view, click the Results tab, choose Compound Layout from the views drop-down list, and then click the Edit View button for the static text view.

      The workspace shows the static text view.

  2. Enter the markup text into the text box.

    The following table lists and describes several examples.

    Static Text View Example
    Description and Usage Notes

    HTML text

    Paste or type the HTML (or appropriate formatted text) into the text box. Based on the format of the text you are entering, markup tags may be used to control the format of the text. The following are some examples of what you can do:

    • To center text in a section:

      <CENTER>Centered Text</CENTER>

    • To make text bold:

      <B>Bold Text</B>

    • To set font size and color:

      <FONT SIZE="4" COLOR="red">Red Text</FONT>

    • To combine tags for additional effects:

      <CENTER><B><FONT COLOR="red">Bold Centered Red Text</FONT></B></CENTER>

    ActiveX object

    The Active-X object must be self-contained and supported by your browser. Paste or type the object into the HTML Text window, making sure to include the beginning and ending tags <object...> and </object>.

    JavaScript or VBScript

    The script must be self-contained and supported by your browser. Paste or type the script into the text box, making sure to include the beginning and ending tags <script> and </script>.

    Audio

    Make sure you know where the audio clip is located. If the audio clip is for use in a shared environment, it must be located on a network drive accessible to all users.

    Use the HTML tag <EMBED> to add audio, in the following format:

    <EMBED SRC="audio" AUTOSTART="true" LOOP="true" HIDDEN="true"></EMBED>

    where "audio" is the location and name of the audio clip.

    To add an audio clip located on your hard drive, the following HTML is an example:

    <EMBED SRC="c:\mycomputer\MIDIfiles\wakeup.mid" AUTOSTART="true" LOOP="true" HIDDEN="true"></EMBED>

    To add the same audio clip from a shared location on your Web server, the following HTML is an example:

    <EMBED SRC="\DashboardFiles\wakeup.mid" AUTOSTART="true" LOOP="true" HIDDEN="true"></EMBED>

    Background image

    The following example uses JavaScript.

    Make sure you know where the image to use as the background is located. If the image is for use in a shared environment, it must be located on a network drive accessible to all users.

    If the image is located in a shared dashboard files folder, the following is example HTML:

    <script language="javascript"> document.body.background = "/dashboardfiles/"NameOfGraphic";</script>

    where NameOfGraphic is the name of the file to use, such as bricks.gif or sand.jpg.

  3. When you are done, you can save the request with the static text view.
Related Topics

Overview of Siebel Answers

Performing Common Tasks When Working with Siebel Analytics Views

Siebel Analytics User Guide