Example Code of a Tree Applet Template That Displays the Tree in a Single Column

In this example, Siebel CRM ignores the following items:

  • For tree items, it ignores the <div od-type="node"> tag that includes a DisplayName type.

  • For tree nodes, it ignores the <div od-type="node"> tag that includes a FieldValue type.

The following example code of a tree applet template displays the tree in a single column:

 <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
  <TBODY>
   <div od-iterator="nodeIterator">
   <TR VALIGN=top>
   <TD NOWRAP>
   <div od-iterator="indentIterator">
     <div od-type="indent-img"/>
   <!--od section iterator close-->
   </div>
   <div od-type="node" type="DisplayName">
     <div od-property="FormattedHtml"/>
   <!--od section node close-->
   </div>
   <div od-type="node" type="FieldValue">
     <div od-property="FormattedHtml"/>
   <!--od section node close-->
   </div>
   </TD>
   </TR>
   <!--od section iterator close-->
   </div>
 </TBODY>
</TABLE>