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 (292k 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

When I try to do so I get an error that the object with the same key is already added... But its not under the views.

0

Hello,

Could you, please, post here or send us (support@adaxes.com) a screenshot of the error message?

Also, please, specify what version of Adaxes you are currently using? For information on how to check it, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.

0

adaxes.png Version: 3.13.18106.0

0

Hello,

Thank you for the provided screenshot. For troubleshooting purposes, please, send us (support@adaxes.com) screenshots of the Filter Options and Forms and Views sections of the Web interface configuration. We need something like below:

Filter Options (please, make sure to send screenshots including all object types present in the list) image.png

Forms and Views (please, make sure to send screenshots including all object types present in the list) image.png

0

I just want to add the extensionattribute12 that we renamed into "Einrichtungseinheit". But always the error appears. The attribute is not added anywhere in the views. adaxes1.png adaxes2.png adaxes3.png adaxes4.png adaxes5.png adaxes6.png adaxes7.png adaxes8.png adaxes9.png adaxes10.png

0

Hello,

I just want to add the extensionattribute12 that we renamed into "Einrichtungseinheit".

It is the issue that causes the error that prevents you from adding the property to the form. Fixing the issue will let you update the form.

But always the error appears.

For us to help you remedy the issue, please, provide us with the exact second screenshot we requested in the previous post. To take the screenshot:

  1. Open Adaxes Web interface configurator.
  2. In the top left corner, select the Web interface where the error occurs.
  3. In the left pane, click Management.
  4. In the Forms and Views section on the right, expand the drop-down menu with object types. image.png
  5. Take a screenshot and post it here. We need something like the following: image.png
0

adaxes11.png adaxes12.png

0

Hello,

Thank you for the provided screenshot. Unfortunately, it still does not allow us to determine the root cause of the issue. For further troubleshooting, please, send us (support@adaxes.com) a backup of your Adaxes. Configuration. For details on how to make a backup, see https://www.adaxes.com/help/BackupRestoreConfiguration.

0

I can't make an Backup cause my installation of the software is missing this backup tool...

0

Hello,

Are you sure that you checked on the computer where Adaxes service is installed? Softerra Adaxes Service should be present in the list of Windows services. The tool should be located in the corresponding folder.

For your information, the Web interface component can be installed on a separate computer. In this case, the Service folder and the backup tool will not be present.

0

Where should I send this backup file to? Its around 60mb so I guess it cant be send over mail properly.

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 (290 points)
3,567 questions
3,258 answers
8,268 comments
547,929 users