Installation guide

Table Of Contents
Object Class Attributes in Template Files
Chapter 5 Editing Entry Types 61
Adding Attributes to Object Classes
Adding an attribute to an object class requires adding an additional row to the HTML table
in the template file where the object class is defined.
The syntax in the following example defines an
Initials attribute for the orgperson
object class:
<TR>
<TD VALIGN=
TOP NOWRAP>Initials</TD>
<TD VALIGN= TOP NOWRAP><B>
<!-- DS ATTRIBUTE
attr=Initials syntax=cis cols=>16 -->
</B></TD>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
To complete the row, two null cells are added. This maintains the HTML table format. For
Asian character sets, substitute an ideographic space for the non-breaking space (&nbsp;)
shown in the example.
Deleting Attributes from Object Classes
Deleting an attribute from an object class requires deleting a complete row or part of a row
from the HTML table where the object is defined. The following example shows the steps
required to delete the mobile phone attribute from the
orgperson object class:
1. Open display-orgperson.html template, and delete the mobile phone
attribute-value pair.
<TR>
<TD VALIGN=
TOP NOWRAP>Pager:</TD>
<TD VALIGN=
TOP NOWRAP><B>
<!-- DS ATTRIBUTE
attr=pager syntax=tel cols=>16 -->
</B></TD>
<TD VALIGN=
TOP NOWRAP>Mobile Phone:</TD>
<TD VALIGN=
TOP NOWRAP><B>
<!-- DS ATTRIBUTE
attr=mobile syntax=tel cols=>16 -->
</B></TD>
</TR>
NOTE Attribute values are added in pairs. When adding a single attribute to an
object class, remember to complete the table row.