Hello, i'd like to have "displayname" as default column when using the blue quick search field. I wasn't able to find any solution yet to add that column permanently.
Wold be awsome if someone would be able to help me with that.
Regards,
Micha
Hello, i'd like to have "displayname" as default column when using the blue quick search field. I wasn't able to find any solution yet to add that column permanently.
Wold be awsome if someone would be able to help me with that.
Regards,
Micha
This can be done, but the configuration is a bit messy. It requires modifying the raw XML of the Web Interface configuration.
A few points to be noted before changing the column configuration :
a) Before changing any XML values please make a backup of the Web Interface configuration
b) As these changes are going to change the Active Roles Configuration database, it is also recommended to make a backup of the database
c) IISRESET/Reset App pool is a must, otherwise the users won’t be able to see changes on additional Active Roles Web Interface nodes
d) Only use LDAP names when altering the XML
STEPS:
<Task ID="QuickSearch" ResID="WIS_QUICK_SEARCH" DescriptionResID="WIS_QUICK_SEARCH_DES" ToolTipResID="WIS_QUICK_SEARCH_DES" HelperResID="WIS_QUICK_SEARCH_HELP" TaskType="0" FormID="" Action="SearchResult.aspx" ClassNames="" Properties="" FullQualifiedTypeName="" UIPolicyID="" ConfirmRequired="False" ConfirmMessageId="" OpenInNewWindow="False" ObjectTag="">
<Setting Name="Scope" Value="2" />
<Setting Name="Attributes" Value="name,objectClass,description,edsvaParentCanonicalName,edsvaAzureObjectId" />
<Setting Name="SearchAttributes" Value="cn,name,displayName,sAMAccountName" />
<Setting Name="UseANR" Value="true" />
<Setting Name="SearchOperator" Value="StartWith" />
<Setting Name="Roots" Value="CN=Active Directory" />
<Setting Name="Filters" Value="(|(objectCategory=person)(objectCategory=computer)(objectCategory=group)(objectCategory=printQueue)(objectCategory=organizationalUnit)(objectCategory=volume)(objectCategory=userProxy)(objectClass=person)(objectClass=msExchDynamicDistributionList)(objectClass=edsAzureO365GroupContainer)(objectClass=edsAzureUserContainer)(objectClass=edsAzureContactContainer)(objectClass=edsAzureGuestUserContainer)(objectClass=edsAzureSecurityGroupContainer)(objectClass=edsAzureSharedMailboxContainer)(objectClass=edsAzureDistributionGroupsContainer)(objectClass=edsAzureResourceMailboxContainer)(objectClass=edsExoDynamicDistributionGroupContainer)(objectClass=edsAzureO365Group)(objectClass=edsAzureUser)(objectClass=edsAzureContact)(objectClass=edsAzureGuestUser)(objectClass=edsAzureSecurityGroup)(objectClass=edsExoSharedMailbox)(objectClass=edsExoDistributionGroups)(objectClass=edsExoRoomMailbox)(objectClass=edsExoDynamicDistributionGroup))" />
<Setting Name="SearchBehavior" Value="ActiveRoles.Web.Application.Searches.Search2.Behaviors.QuickSearchBehavior, ActiveRoles.Web.Application" />
<Setting Name="BatchOperations" Value="Delete,ObjectDeprovision,Move,AddObjectToGroup,BulkUserOperation,BulkUserPwdReset" />
<IsCommandAllowedFilters ConditionFiltersDisable="False" />
<RuntimeVariables />
</Task>
Change the value of the Attributes setting as desired. Attributes are displayed in order as written.
This can be done, but the configuration is a bit messy. It requires modifying the raw XML of the Web Interface configuration.
A few points to be noted before changing the column configuration :
a) Before changing any XML values please make a backup of the Web Interface configuration
b) As these changes are going to change the Active Roles Configuration database, it is also recommended to make a backup of the database
c) IISRESET/Reset App pool is a must, otherwise the users won’t be able to see changes on additional Active Roles Web Interface nodes
d) Only use LDAP names when altering the XML
STEPS:
<Task ID="QuickSearch" ResID="WIS_QUICK_SEARCH" DescriptionResID="WIS_QUICK_SEARCH_DES" ToolTipResID="WIS_QUICK_SEARCH_DES" HelperResID="WIS_QUICK_SEARCH_HELP" TaskType="0" FormID="" Action="SearchResult.aspx" ClassNames="" Properties="" FullQualifiedTypeName="" UIPolicyID="" ConfirmRequired="False" ConfirmMessageId="" OpenInNewWindow="False" ObjectTag="">
<Setting Name="Scope" Value="2" />
<Setting Name="Attributes" Value="name,objectClass,description,edsvaParentCanonicalName,edsvaAzureObjectId" />
<Setting Name="SearchAttributes" Value="cn,name,displayName,sAMAccountName" />
<Setting Name="UseANR" Value="true" />
<Setting Name="SearchOperator" Value="StartWith" />
<Setting Name="Roots" Value="CN=Active Directory" />
<Setting Name="Filters" Value="(|(objectCategory=person)(objectCategory=computer)(objectCategory=group)(objectCategory=printQueue)(objectCategory=organizationalUnit)(objectCategory=volume)(objectCategory=userProxy)(objectClass=person)(objectClass=msExchDynamicDistributionList)(objectClass=edsAzureO365GroupContainer)(objectClass=edsAzureUserContainer)(objectClass=edsAzureContactContainer)(objectClass=edsAzureGuestUserContainer)(objectClass=edsAzureSecurityGroupContainer)(objectClass=edsAzureSharedMailboxContainer)(objectClass=edsAzureDistributionGroupsContainer)(objectClass=edsAzureResourceMailboxContainer)(objectClass=edsExoDynamicDistributionGroupContainer)(objectClass=edsAzureO365Group)(objectClass=edsAzureUser)(objectClass=edsAzureContact)(objectClass=edsAzureGuestUser)(objectClass=edsAzureSecurityGroup)(objectClass=edsExoSharedMailbox)(objectClass=edsExoDistributionGroups)(objectClass=edsExoRoomMailbox)(objectClass=edsExoDynamicDistributionGroup))" />
<Setting Name="SearchBehavior" Value="ActiveRoles.Web.Application.Searches.Search2.Behaviors.QuickSearchBehavior, ActiveRoles.Web.Application" />
<Setting Name="BatchOperations" Value="Delete,ObjectDeprovision,Move,AddObjectToGroup,BulkUserOperation,BulkUserPwdReset" />
<IsCommandAllowedFilters ConditionFiltersDisable="False" />
<RuntimeVariables />
</Task>
Change the value of the Attributes setting as desired. Attributes are displayed in order as written.