0 votes

Hello,

Is it possible to configure Adaxes WEB field so it would show not the actual values but translated ones?
What I am looking for is to show AD atribute ms-Exch-Recipient-Display-Type which contains numeric value and show text description of each one of the value instead of the value itself. Maybe adding some virtual value which would update on page refresh?

Here is a MS table of values that I am referring to https://blogs.technet.microsoft.com/joh ... -premises/
As numeric values are not very helpful, but if we could show the display type of the value, that would be much better.

Thanks.

by (760 points)

1 Answer

0 votes
by (289k points)
selected by
Best answer

Hello,

Currently, there is no such possibility. Thank you for the suggestion, we will consider it.

As a workaround, you can use one of Adaxes custom text attributes (e.g. CustomAttributeText1) to display the translated values. Custom attributes are virtual properties added by Adaxes that are not stored in Active Directory, but can be used as any other property of directory objects. The value of the attribute will be automatically updated once ms-Exch-Recipient-Display-Type changes.

If this solution meets your needs, we will provide you with detailed instructions.

0

Thanks for explanation.
Anyway the suggested solution could also help. Please share the recommended way of updating virtual attributes.
Thank you.

0

Hello,

You will need to create a Scheduled Task configured for User Object type. To do so:

  1. Launch Adaxes Administration Console.

  2. Right-click your Adaxes service node, navigate to New and click Scheduled Task.

  3. On step 3 of the Create Scheduled Task wizard, select User Object type and click Next.

  4. Click Add Action and select Run a program or PowerShell script.

  5. Paste the script below into the Script field.

     $attributeName = "adm-CustomAttributeText1" # TODO: modify me
     $displayTypesInfo = @{
         0 = "MailboxUser";
         1 = "DistrbutionGroup";
         2 = "PublicFolder";
         3 = "DynamicDistributionGroup";
         4 = "Organization";
         5 = "PrivateDistributionList";
         6 = "RemoteMailUser";
         7 = "ConferenceRoomMailbox";
         8 = "EquipmentMailbox";
         1073741824 = "ACLableMailboxUser";
         1043741833 = "SecurityDistributionGroup";
         -2147483642 = "SyncedMailboxUser";
         -2147483391 = "SyncedUDGasUDG";
         -2147483386 = "SyncedUDGasContact";
         -2147483130 = "SyncedPublicFolder";
         -2147482874 = "SyncedDynamicDistributionGroup";
         -2147482106 = "SyncedRemoteMailUser";
         -2147481850 = "SyncedConferenceRoomMailbox";
         -2147481594 = "SyncedEquipmentMailbox";
         -2147481343 = "SyncedUSGasUDG";
         -2147481338 = "SyncedUSGasContact";
         -1073741818 = "ACLableSyncedMailboxUser";
         -1073740282 = "ACLableSyncedRemoteMailUser";
         -1073739514 = "ACLableSyncedUSGasContact";
         -1073739511 = "SyncedUSGasUSG";
     }
    
     # Update Display type
     try
     {
         $value = $Context.TargetObject.Get("msExchRecipientDisplayType")
     }
     catch
     {
         $value = $NULL
     }
    
     if ($value -eq $NULL)
     {
         $displayType = $NULL
     }
     else
     {
         if (-not($displayTypesInfo.Contains($value)))
         {
             $Context.LogMessage("Unknown dispaly type: $value", "Warning")
             return
         }
         $displayType = $displayTypesInfo[$value]
     }
     $Context.TargetObject.Put($attributeName, $displayType)
     $Context.TargetObject.SetInfo()
  6. Enter a short description and click OK.

  7. Click Next and finish creating the Scheduled Task.

0

Great, this looks awesome.
Especially the hash table.
Thanks!

Related questions

0 votes
1 answer

I'm lost as to why "Create User" doesn't show up. I made a new dashboard, mirroring the default Help Desk. Under Actions, I enabled Create User. On the web interface, the option to create a user is not showing. Am I missing a step?

asked May 15 by tromanko (330 points)
0 votes
1 answer

I added a chart based on report "soon-to-expire passwords" to the homepage. In Adaxes console, it will show a chart with time/date of when the password will expire. In the ... the report in web interface, it will show data but the chart will still be blank.

asked Mar 20 by tromanko (330 points)
0 votes
1 answer

Is it possible to trim the values before saving the values? e.g., when someone copies and pastes a first name, it has a trailing space and this is carried over to AD too. Is it possible to trim this value?

asked Oct 22, 2013 by sdavidson (730 points)
0 votes
1 answer

I would like to show a couple of Adaxes Virtual Attributes in the Web Portal. I've added them in the Configuration, see the 1st screenshot below. I've ... . Any help? Virtual Attributes added Security Role has permissions Virtual Attributes not showing up

asked Jul 29, 2020 by nate2 (90 points)
0 votes
1 answer

I created an entry in the AttributeFriendlyNames2.eng.xml file, but the real name still shows instead of the friendly name in both the Web Console ... ;/ldapName> <friendlyName>FAX Coversheet</friendlyName> </friendlyNameItem> Any ideas?

asked Jan 5, 2017 by Kikaida (1.1k points)
3,548 questions
3,238 answers
8,232 comments
547,810 users