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
object class:
<TR>
"
<TD VALIGN=
TOP
"
<TD VALIGN=
TOP
<!-- DS ATTRIBUTE
</B></TD>
<TD> </TD>
<TD> </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 ( )
shown in the example.
NOTE
Attribute values are added in pairs. When adding a single attribute to an
object class, remember to complete the table row.
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
Open
1.
display-orgperson.html
attribute-value pair.
<TR>
"
<TD VALIGN=
TOP
"
<TD VALIGN=
TOP
<!-- DS ATTRIBUTE
</B></TD>
"
<TD VALIGN=
TOP
"
<TD VALIGN=
TOP
<!-- DS ATTRIBUTE
</B></TD>
</TR>
"
NOWRAP>Initials</TD>
"
NOWRAP><B>
"
attr=Initials
template, and delete the mobile phone
"
NOWRAP>Pager:</TD>
"
NOWRAP><B>
"
" "
attr=pager
syntax=tel
"
NOWRAP>Mobile Phone:</TD>
"
NOWRAP><B>
"
" "
attr=mobile
Object Class Attributes in Template Files
attribute for the
Initials
" "
" "
syntax=cis
cols=>16
object class:
orgperson
" "
cols=>16
" "
syntax=tel
cols=>16
Chapter 5
orgperson
"
-->
"
-->
"
-->
Editing Entry Types
61