DOCUMENT:Q253536 09-MAR-2000 [winnt]
TITLE :Modifying the HTML Search Results Page in MMS
PRODUCT :Microsoft Windows NT
PROD/VER::2.1
OPER/SYS:
KEYWORDS:kbenv kbtool
======================================================================
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Metadirectory Services, version 2.1
-------------------------------------------------------------------------------
SUMMARY
=======
You can modify all the HTML templates in the directory. This article describes
how to modify the Search results field by adding a Location field to be returned
to the Web browser.
MORE INFORMATION
================
Using Compass, follow these steps:
1. Search in the metadirectory for an object called "defaulthtmltemplate" and
then open its properties.
2. Click the Web Search Response tab. This is the HTML template that is stored
in the directory. This template is used when a search is initiated. All the
search results are displayed using this template.
3. Scroll down the template until you see:
+BeginList+
+myRdn1+ | +mail+
+telephoneNumber+ +title+ |
+EndList+
This is the portion of the template that defines the output fields for the Web
browser. When you perform a search you get the following fields back: MyRdn1
(the person's name), Mail, Telephone, and Title.
4. You can add or replace any of the attributes here by referring to the
attributes with the "+" modifier. To add the Location attribute to your
search results, specify the attribute with the modifier before and after the
attribute name (for example, +location+). The portion of the template listed
above would appear as follows:
+BeginList+
+myRdn1+ | +mail+
+telephoneNumber+ +title+ +location+ |
+EndList+
5. After you make your change to the template, click OK to save your changes.
Please refer to the MMS online documentation for more information about HTML
modifiers.
Additional query words: Zoomit Via MA zscript genlogs
======================================================================
Keywords : kbenv kbtool
Technology : kbMMSSearch kbMMS210
Version : :2.1
Issue type : kbinfo
=============================================================================
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 2000.