Resolution
goal
How do I add the Employee ID attribute to the Quick Start Search drop-down list?
goal
How do I customize the Web console?
fact
Directory and Resource Administrator 7.x
fix
note
You can also find this information in the online Web Console Customization Guide on the home page when you first launch the Web Console under Help and Customization Quick Tour.
note
NetIQ Technical Support does not support customizations made to the Web console.
How do I add the Employee ID attribute to the Quick Start Search drop-down list?
goal
How do I customize the Web console?
fact
Directory and Resource Administrator 7.x
fix
To add the Employee ID attribute to the Quick Start Search menu:
- In Windows Explorer, go to
C:\InetPub\wwwroot\DRAWeb\WebConsole\BuiltIn<\Common\Scripts\SearchForms
- Copy these two files:
CreateQuickStartForm.asp
- CreateUserSearchForm.asp
- Paste the copied files to
C:\InetPub\wwwroot\DRAWeb\WebConsole\Custom\Common\Scripts\SearchForms
Note: Any files in the Custom directories are loaded with precedence over the files located in the BuiltIn directories. The original files do not change. - Add the following lines of script to the CreateQuickStartForm.asp:
if bShowUsers then
set UserOption = SearchForm.AddClassOption("User", WebConsole.GetAppMsg("QUICK_START_USER_OPTION_NAME"))
'these params are never actually used in this form - but the searchform object will
' throw an error if they are not specified...
UserOption.OperationName = "AccountEnum"
UserOption.QueryTemplate = "user(%SEARCH_PROPERTY%='%MATCH_STRING%')"
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")
UserOption.AddSearchProperty "EmployeeID", "Employee ID"
else
UserOption.AddSearchProperty "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
end if - Save the changes to add the Employee ID attribute field to the drop-down list as Employee ID.
- Add the following lines of script to the CreateUserSearchForm.asp:
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")
if Request(Application("REQUEST_KEY_QUICK_START_MODE")) <> "" then
UserOption.AddSearchProperty "EmployeeID", "Employee ID"
End If
else
UserOption.AddSearchProperty "samAccountName", WebConsole.GetAppMsg("USER_SEARCH_SEARCHPROPERTY_LOGON_CAPTION")
end if - Save the changes to add the actual value of the EmployeeID attribute to the results page as Employee ID.
You do not need to stop or restart the NetIQ Administration service. Refresh or relaunch the Web Console home page to implement the changes.
note
You can also find this information in the online Web Console Customization Guide on the home page when you first launch the Web Console under Help and Customization Quick Tour.
note
NetIQ Technical Support does not support customizations made to the Web console.
Additional Information
Formerly known as NETIQKB47443