Siebel Developer's Reference > Siebel Templates for Employee Applications > View Templates >

Overview of Using View Templates


Each gray area in the view diagrams in View Templates represents an area where you can place one or more applets. Siebel CRM expands each applet horizontally to fit the column where you place this applet. The amount of data that it displays determines the amount of vertical space the applet uses.

Siebel Tools does not determine style. It might display color schemes and applet titles differently than Siebel CRM displays them in the client.

Guidelines for Using View Templates

If you configure a view template, then use the following guidelines:

  • Map a tree applet map on a view other than the view tree. Siebel CRM does not call a tree applet in a template and the applet that this tree references the same way it calls a predefined applet. You cannot map one of these tree applet as a predefined applet. You can use the View Tree or View Tree 2 applet.
  • Increase the number of applets that Siebel CRM displays in a region. To define the number of applets that Siebel CRM can map to a region, most regions use a swe:for-each loop. To increase the number of applets, you can increase the count attribute of the swe:for each tag.
  • Use a subframe view. The View 25 - 75 (Framed) template is a subframe view. It displays some applets in the left frame and other applets in the right frame.
  • Reuse applets. Each applet placeholder that resides in a view template specifies a style. To determine the color scheme that the applet displays and the applet title visibility, Siebel CRM evaluates this style at run time.

    To reuse one applet object definition in many situations, you can apply styles in the view template, and then code the applet template so that it evaluates styles. This configuration reuses code and reduces the number of applet copies that you must maintain.

    View templates support parent, child, and grandchild styles.

Siebel Developer's Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.