A SERVICE OF

logo

Chapter 6, Search Attributes, Filters, and Results 69
Customizing Search Result Templates
Table 6.3 lists the default gateway search objects and the information displayed
on the search results list. Search results templates are stored in the dsgw/config
directory and use the list-<search object>.html file naming convention.
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
Adding Information to Search Results
The boldface text in Example 6.9 shows how additional information can be
added to the search result by modifying the corresponding search result
template.
Example 6.9 Adding OrgUnit to Search Results for People
<TR>
Table 6.3 Default Search Results for Search Objects
Search object Search result template used Search results displayed
people list-People.html name, phone number, e-mail
address, and title
NT-people list-NT-People.html name, NT domain, NT
username, and phone number
Groups list-Groups.html group name and description
NT-Groups list-NT-Groups.html LDAP group name, NT
domain name, NT group
name, and description
Organizations list-Organizations.html organization name,
description, and phone
number
Org-Units list-Org-Units.html organizational unit name,
description, and phone
number
Anything list-Anything.html name, phone number, e-mail
address, and description