Resolution
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.
- Copy
C:\Inetpub\wwwroot\DRAWeb\WebConsole\BuiltIn\Common\Scripts\SearchForms\CreateQuickStartForm.asp
toC:\Inetpub\wwwroot\DRAWeb\WebConsole\Custom\Common\Scripts\SearchForms\CreateQuickStartForm.asp
- Move the line in Bold type from the end of the following paragraph to the beginning:
- Save and close the CreateQuickStartForm.asp file.
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