Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Siebel Tags >

Overview of How Siebel CRM Uses Siebel Tags


Siebel CRM maps a Siebel object to an Id in a web template. The Siebel Web template files do not include references to controls in the Siebel repository. Instead, it includes placeholder tags that define layout and style. The following is an example of a Siebel tag that places a web page item in a web page:

<swe:Control id="1" property="FormattedHtml"/>

Other Siebel tags place other items in a web page, such as view bars, applets, or controls.

To process this tag and create the final HTML, the Siebel Web Engine does the following:

  1. For the current web page, it examines the compiled SRF file for web page item whose Item Identifier property is equal to 1. This is the mapping between the template file object and the repository object. For more information about the item identifier, see Properties of the Applet Web Template Item.
  2. To replace the placeholder in the template file, it displays the Formatted HTML representation of this repository object.

Figure 33 describes how the mapping between controls and IDs work to display an image as a link to add a new contact. The HREF is likely different in your implementation. If you create the correct controls and template mappings, then the Siebel Web Engine creates a URL in the HREF that runs the NewRecord method in the correct context.

Figure 33. Example of Mappings Between Controls and IDs

Siebel Tag Usage in an HTML Tag

You cannot nest a Siebel tag in an HTML tag. For example, the following code is not valid. It creates an error:

<img src="<swe:control id="1"/>">

You cannot nest some Siebel tags. For example, the following is not valid. It creates an error:

<swe:control id="1">

<swe:control id="2" property="formattedHTML"/>

<swe:this property="formattedHTML"/>

</swe:control>

</swe:control>

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