quick search default columns

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

Parents
  • 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:

    1. Open the Active Roles Configuration Center and select the Web Interface tab. Select the desired Web Interface site and click on the Export Configuration button. Save the current Web Interface configuration to a file.
    2. In the Active Roles Console, as an Active Roles Admin, choose View | Mode and select Raw Mode
    3. Browse to Application Configuration | Web Interface. Match the desired Active Roles Web Interface site node by the description column, which will match the name of the configuration as displayed in the Active Roles Configuration Center.
    4. Expand Customization Settings and open Advanced Properties of the Working Copy.
    5. Check 'Show All Possible Attributes', locate edsaWICommands attribute and open its value for editing.
    6. Locate the QuickSearch Task ID in the xml. It looks like this:

    <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.

    1. Save the changes.
    2. Log into the Active Roles Web Interface site as an Active Roles Admin and choose Customization | Reload to apply the changes.
    3. On any additional Active Roles Web Interface nodes, ensure that the Active Roles Web Interface site is using the same configuration, and then run the iisreset command in an elevated command prompt in order to apply the changes.
Reply
  • 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:

    1. Open the Active Roles Configuration Center and select the Web Interface tab. Select the desired Web Interface site and click on the Export Configuration button. Save the current Web Interface configuration to a file.
    2. In the Active Roles Console, as an Active Roles Admin, choose View | Mode and select Raw Mode
    3. Browse to Application Configuration | Web Interface. Match the desired Active Roles Web Interface site node by the description column, which will match the name of the configuration as displayed in the Active Roles Configuration Center.
    4. Expand Customization Settings and open Advanced Properties of the Working Copy.
    5. Check 'Show All Possible Attributes', locate edsaWICommands attribute and open its value for editing.
    6. Locate the QuickSearch Task ID in the xml. It looks like this:

    <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.

    1. Save the changes.
    2. Log into the Active Roles Web Interface site as an Active Roles Admin and choose Customization | Reload to apply the changes.
    3. On any additional Active Roles Web Interface nodes, ensure that the Active Roles Web Interface site is using the same configuration, and then run the iisreset command in an elevated command prompt in order to apply the changes.
Children
No Data