0 votes

Hello,

I want to show an extension attribute when searching for a user in the web interface. I tried to add it under browsing, but its still not there.

How can I modify the attributes that are shown in the results?

Thanks!

by (20 points)
0

Hello,

Sorry for the confusion, but we are not sure what exactly you mean. Could you, please, post here or send us (support@adaxes.com) a screenshot of the Web interface where you want to add the property? Any additional details regarding the desired behavior will be much appreciated.

0

Thanks for the fast reply.

I want to change view of the attributes that are visible when searching for a user: adaxes.png Here I want an extensionattribute to be shown

1 Answer

0 votes
by (272k points)

Hello,

Thank you for specifying. The form you are referencing is related to viewing a user account. It is the same when you search for a user or just browse to one. For information on how to modify Web interface forms, have a look at the following tutorial: https://www.adaxes.com/tutorials_WebInterfaceCustomization_CustomizeFormsForUserCreationAndEditing.htm. In your case, you need to activate the View tab on step 5 of the guide and then add the extension attribute to the required section.

0

Hello,

You can upload it to our FTP. Can we send access details to your profile email address? If not, please, specify the email address we should use.

0

yes, just send it to my e-mail adress :)

0

Hello,

Thank you for the confirmation. The email was sent to the email address from you Q&A profile.

0

Hello,

Thank you for the provided backup. The issue occurs because of duplicate object types in the drop-down list of the Forms and Views section. image.png To remedy the issue, execute the below script on the computer where Adaxes service is installed. When prompted, specify the credentials of the Adaxes service account (specified during the software installation). Once done, refresh the Web interface configurator page using Ctrl+F5.

[Reflection.Assembly]::LoadWithPartialName("Softerra.Adaxes.Adsi")

$credential = Get-Credential

# Connect to the Adaxes service
$admNS = New-Object "Softerra.Adaxes.Adsi.AdmNamespace"
$admService = $admNS.GetServiceDirectly("localhost")

# Bind to the 'WebUI Configuration' container
$webuiConfigPath = $admService.Backend.GetConfigurationContainerPath(
    "WebUIConfigurationContainer")
$webuiConfigContainer = $admService.OpenObject($webuiConfigPath,
     $credential.UserName, $credential.GetNetworkCredential().Password, 0)

$webUITypes = $webuiConfigContainer.GetWebUITypes()
foreach ($webUIType in $webUITypes)
{
    $ManagementFormsViewsSettings = $webUIType.ManagementFormsViewsSettings
    $ObjectTypes = $ManagementFormsViewsSettings.ObjectTypes

    $types = New-Object "System.Collections.Generic.HashSet[System.String]"
    for ($i = $ObjectTypes.Count - 1; $i -ge 0; $i--)
    {
        $type = $ObjectTypes.GetItem($i)
        if (!$types.Add($type.ObjectType))
        {
            $ObjectTypes.Remove($i)
        }
    }

    $webUIType.ManagementFormsViewsSettings = $ManagementFormsViewsSettings
    $webUIType.SetInfo()
}

After running the script and refreshing the page, you should be able to add the attribute to the form.

0

Now it worked! Thank you.

Related questions

0 votes
1 answer

Hello! We are currently trying to use the REST API to search for all group objects in our domain, but the search result is only returning 1000 objects. We tried supplying a ... the request. Is there a way to retrieve more than 1000 objects using the REST API?

asked Feb 16, 2022 by KelseaIT (320 points)
0 votes
1 answer

How do you add a custom attribute to the search results? Version 2017.2 / 3.8.14823.0

asked Nov 12, 2018 by hgletifer (1.3k points)
0 votes
1 answer

I've got a scheduled agent that is attempting to export data for updated employees. When an employee record is updated, we're setting the value of the LDAP custom attribute ... ") # Release resources used by the search $userResult.Dispose() return } ...

asked Oct 17, 2015 by sandramnc (870 points)
0 votes
1 answer

Adaxes support, Is there a way to disable the red x icon in the search results window on a user account. This icon appears by defualt when we disable an account but ... allows is to enable the users picture. Can this be accomplished in the xml config files?

asked Aug 22, 2013 by rjthompson (80 points)
0 votes
1 answer

How can we export a report with a filter applied? When running a report, and applying a filter and clicking export to say Excel, all results from the report ... instead prints only the filtered results, we would like to export filtered results. Thanks!

asked Aug 18, 2023 by curtisa (210 points)
3,346 questions
3,047 answers
7,772 comments
544,970 users