How to Modify the List of Attributes Displayed in WebAdmin (197532)



The information in this article applies to:

  • Microsoft Site Server 3.0

This article was previously published under Q197532

SUMMARY

This article discusses how to modify the list of Content Type attributes listed in the Site Server WebAdmin (Site Server Service Admin [HTML]).

MORE INFORMATION

Content types are used to establish a consistent set of tags to be applied to documents. Content attributes, sometimes called meta tags or properties, are used to describe a content type. Custom content attributes can be created using the Site Server WebAdmin.

NOTE: The following procedure does not create the attribute. The attribute must already exist or needs to be created using the standard procedure. If more information on how to create attributes is required, please consult the online product documentation.

You can modify the list of attributes displayed within the Attribute Java program in Site Server Web Admin. The list of attributes is populated from a .asp file. This file is located at:

<drive>:\Microsoft Site Server\SiteServer\Admin\knowledge\dsmgr \users\defaultattributes.asp

To add a folder or grouping to the list of attributes in defaultattributes.asp, follow these steps:
  1. In the section marked "Sub FillInAttributesTree()" type the following text to create a folder/grouping for attributes:

    AddNode "my attribute grouping"

  2. To add an item to this grouping, type the following code:

    AddChild "givenName","First Name"

    where "givenName" is the actual name of the attribute and "First Name" is the display name of the attribute.
  3. Save the Defaultattributes.asp file.

Modification Type:MajorLast Reviewed:7/29/1999
Keywords:kbhowto KB197532