Adding Attributes To Object Classes; Deleting Attributes From Object Classes - Netscape DIRECTORY SERVER 7.0 - GATEWAY CUSTOMIZATION Manual

Table of Contents

Advertisement

directives begin with a
DS_ATTRIBUTE
tag.
DS_ENTRYEND
Appendix B, "Gateway Directives," lists the possible arguments for the
directive.
DS_ATTRIBUTE

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:
orgperson
<TR>
"
<TD VALIGN=
TOP
"
<TD VALIGN=
TOP
<!-- DS ATTRIBUTE
</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.
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
object class:
DS_ENTRYBEGIN
"
NOWRAP>Initials</TD>
"
NOWRAP><B>
"
" "
attr=Initials
Object Class Attributes in Template Files
tag and close with a
attribute for the
Initials
" "
syntax=cis
cols=>16
Chapter 5
Editing Entry Types
"
-->
orgperson
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents