Modifying Search Result Templates; Adding Information To Search Results - Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Manual

Gateway customization guide
Table of Contents

Advertisement

Customizing Search Result Templates
Table 6-3
Search Object
Org-Units
Anything
A new search result template is required for each new object class that is not a child of
another object class.

Modifying Search Result Templates

This section covers:

Adding Information to Search Results

Removing Information from Search Results
Adding Information to Search Results
This example shows how additional information can be added to the search result by
modifying the corresponding search result template.
<TR>
<TH NOWRAP>Name<TH NOWRAP>Phone Number<TH NOWRAP>E-Mail
Address<TH NOWRAP>Title<TH NOWRAP>Organizational Unit
</TR>
<TR>
<TD NOWRAP>
<!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "label=" -->
onMouseOver="window.status='Click here to view this entry in
detail'; return true">
<!-- DS_ATTRIBUTE "attr=cn" "numfields=0" "defaultvalue=name"
"options=readonly" -->
</A>
<TD NOWRAP>
<!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" -->
<TD NOWRAP>
<!-- DS_ATTRIBUTE "attr=mail" "syntax=mail" -->
<TD NOWRAP>
80
Red Hat Directory Server Gateway Customization Guide • April 2005
Default Search Results for Search Objects (Continued)
Search Result Template Used
list-Org-Units.html
list-Anything.html
Search Results Displayed
Organizational unit name, description,
and phone number.
Name, phone number, e-mail address,
and description.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents