Add new icon for search results
From Datafari v6.2
It may happen that you have indexed documents with a specific extension which is not known by Datafari. If this is the case, the concerned documents will be displayed with a default icon in Datafari (see the last document below):
If you want to add your specific icon, you need to do it in the source code. Get it here: https://gitlab.datafari.com/datafari-community/datafariui-v2/-/tree/main.
Then, add your new icon in “DATAFARI_HOME_DIR/www/images/file_icons“. The file must be a png type and respect the following pattern : icon_square_[extension_name]_V01-24px.png
For example, the icon file to add to the icons folder in order to correct the problem showed above would be : icon_square_dotx_V01-24px.png
Then compile the code and deploy it. See how to do it here https://gitlab.datafari.com/datafari-community/datafariui-v2/-/blob/main/README.md.
A ticket has been opened for dynamic icon adding: https://gitlab.datafari.com/datafari-community/datafariui-v2/-/issues/138