How do I customize the Web console so the Quick Start search defaults to name instead of username? (NETIQKB45777)

  • 7745777
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I customize the Web console so the Quick Start search defaults to name instead of username?

goal
How do I customize the CreateQuickStartForm.asp file default properties?

goal
How do I perform a Quick Start search using name as the default parameter?

fact
Directory and Resource Administrator 7.x

fix

Copy the CreateQuickStartForm.asp file to the specified location and switch the order of statements in the copied file as shown.

  1. Copy C:\Inetpub\wwwroot\DRAWeb\WebConsole\BuiltIn\Common\Scripts\SearchForms\CreateQuickStartForm.asp to C:\Inetpub\wwwroot\DRAWeb\WebConsole\Custom\Common\Scripts\SearchForms\CreateQuickStartForm.asp
  2. Move the line in Bold type from the end of the following paragraph to the beginning:
  3. if Session("FocusDomainIsAD") then
      UserOption.AddSearchProperty    "userPrincipalName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
      UserOption.AddSearchProperty    "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_PRE_W2K_CAPTION")
    else
      UserOption.AddSearchProperty    "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
    end if
    UserOption.AddSearchProperty        "$McsFriendlyName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_NAME_CAPTION")

    to

    UserOption.AddSearchProperty        "$McsFriendlyName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_NAME_CAPTION")

    if Session("FocusDomainIsAD") then
      UserOption.AddSearchProperty    "userPrincipalName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
      UserOption.AddSearchProperty    "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_PRE_W2K_CAPTION")
    else
      UserOption.AddSearchProperty    "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
    end if


  4. Save and close the CreateQuickStartForm.asp file.


Additional Information

Formerly known as NETIQKB45777