Configuring Siebel Business Applications > Configuring Siebel Web Templates and Siebel Tags > Configuring Web Templates to Display Menus, Toolbars, and Thread Bars >

Using Web Templates to Configure the Thread Bar


The thread bar includes thread buttons that Siebel CRM displays in the following format:

title: value

You can omit the title or value. Separators separate thread buttons. For example, the greater than symbol (>) is a separator.

If a thread applet or thread field is not defined for a view, then Siebel CRM does not update the thread button when it displays the view.

Table 64 describes how Siebel CRM responds to actions the user performs in the thread bar. For more information, see Configuring the Thread Bar.

Table 64. How Siebel CRM Responds to User Actions in the Thread Bar
User Action
Siebel CRM Reply

User requests a new screen.

Siebel CRM creates a new thread to replace the current thread.

User clicks a view button.

Siebel CRM replaces the last thread with the new view that the user requested.

 

User clicks a drilldown link.

Siebel CRM appends a new step on the thread bar for the view that the user requested.

User clicks a thread button.

Siebel CRM deletes all the thread buttons after the thread button that the user clicked and proceeds to the step view that SWEBMCount indicates.

 

How Siebel CRM Uses Bookmarks with the Thread Bar

A thread button can display a link that navigates the user to a previous page. The link requires the GotoBookmarkView Siebel Web Engine command. The link for each thread button must contain at least the following parameters:

SWECmd=GotoBookmarkView&SWEBMCount=2SWECount=3

where:

  • SWEBMCount=2 indicates that Siebel CRM uses bookmark number 2 to create the view.
  • SWECount=3 is the bookmark ID for the current view.

For example, Siebel CRM uses the od tags and thread link format to translate the thread button for the A.K. Parker account into the following HTML format:

<a href="www.siebel.com/start.swe?SWECmd=GotoBookmarkView&SWEBMCount=2& SWECount=3>Account: AK Parker</a>

If the user clicks the thread button to display a bookmarked view that the user previously accessed, then Siebel CRM creates a new bookmark that identifies the view that it currently displays. The bookmark ID for the new view is the current od count increased by 1. The od count is the count that Siebel CRM sends to the Siebel Server in the request.

Bookmark deletion policy is not modified with the bookmark ID assignment policy. Siebel CRM keeps the most recently created 20 bookmarks and deletes all other bookmarks, by default. If the od count in the user request is less than the od count on the Siebel Server, then Siebel CRM deletes all the bookmarks that contain a od count that is larger than the od count in the user request.

Configuring the Thread Bar

You can use the following od tags to configure an HTML thread bar:

  • <div od-type="threadbar">. Defines the start and finish of the thread bar section.
  • <div od-type="threadlink">. Defines the definition of a thread button on the thread bar. This tag includes the following properties:
    • FormattedHtml. Display the HTML link.
    • Title. Display the title and value pair of the thread button.
  • <div od-type="threadseparator">. Specifies the symbol that Siebel CRM displays to separate thread buttons.

Use the <div od-type="threadlink"> and <div od-type="threadseparator"> tags only in the <div od-type="threadbar"> tag.

The usage of these od tags is similar to that of the screen bar and view bar tags.

To configure the thread bar

  • Insert thread bar definitions into a Siebel web template. Use the <div od-type="threadbar">, <div od-type="threadlink">, and <div od-type="threadseparator"> tags. For usage with frames, do the following:
    • Application does not use frames. Insert the definition in a container page. For example, CCPageContainer_NoFrames.
    • Application uses frames. Insert the definition in the Siebel web template for the Viewbar frame or the View frame.

Example Code to Configure the Thread Bar

The code in this topic creates a thread bar that uses the following format:

Home > Consumer:PCs > PCs:Laptops

The following code provides an example of how to insert thread bar definitions into a Siebel web template:

  <!-- Begin Threadbar section -->

  <table class="Theadbar" width=100% border="0" cellspacing="0" cellpadding="0">

  <tr valign="left">

<td nowrap bgcolor="#6666CC" width=110>

<img src="images/spacer.gif" width="110" height="25" border="0">

</td>

<td width=99%>

<div od-type="threadbar">

<img src="images/spacer.gif" width="10" height="25" border="0" align="absmiddle">

<div od-type="threadlink" property="FormattedHtml">

<font color="#000000"> <span >&nbsp;<nobr><div od-property="Title"/></nobr>&nbsp;</span> </font>

<!--od section threadlink close->

</div>

<div od-type="threadseparator">&gt;<!--od section threadseparator close-> </div>

<!--od section threadbar close->

</div>

<img src="images/spacer.gif" width="10" height="25" border="0" align="absmiddle">

</td>

  </tr>

  </table>

  <!-- End Threadbar section -->

Configuring Siebel Business Applications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.