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 specific 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 generate the final HTML, the Siebel Web Engine does the following:

  1. For the current web page, 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.
  2. To replace the placeholder in the template file, renders the Formatted HTML representation of this repository object.

Figure 33 illustrates 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 constructs a URL in the HREF that executes 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 generates an error:

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

Also, you cannot nest some Siebel tags. For example, the following is not valid. It generates 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 © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.