Customize detail view of search results list from MetaDirectory 5
State of knowledge
May 2021. From MetaDirectory 5 Enterprise.
To display more attributes for the contacts in the details view of the search results list of the new MetaDirectory search page, you can customize the associated template.
Procedure
- Administratively open the contactdetails-groups.json file from the C:\Program Files\estos\MetaDirectory\wwwroot\templates directory.
- The required attribute can be added at the desired position under the desired area (default: Business, Home, Custom).
The attribute name can be found in the MetaDirectory Administrator under Search\Standardsearch in the tooltip in the middle position on the desired field - Save the file.
- After restarting the browser and the MetaDirectory search page, the additional attribute is now visible.
Example
In the example, the business fax number is added to the Business group:
Example screenshot: Add business fax number to Business group
New groups such as Business, Home, and Custom can also be created in a similar way.
The displayed icons are taken from the Font Awesome 5 Pro-xxx.otf files in the C:\Program Files\estos\MetaDirectory directory. These can be viewed at the following URL: https://fontawesome.com/icons?d=gallery&p=2
The displayed icons are taken from the Font Awesome 5 Pro-xxx.otf files in the C:\Program Files\estos\MetaDirectory directory. These can be viewed at the following URL: https://fontawesome.com/icons?d=gallery&p=2
Caution
The changes are no longer effective after updating the MetaDirectory.
After updating the MetaDirectory, copy the contactdetails-groups.json file from the resulting wwwroot.xxxxx.bak directory (located at C:\Program Files\estos\MetaDirectory) back to the above working directory.