Declare Metadata - Fluid Topics - 3.4 - Technical Notes

Enrich and Clean Metadata

Product
Fluid Topics
Fluid Topics Version
3.4
Category
Technical Notes
Target Audience
public

For the portal to display cleaned metadata, it is necessary to designate the newly generated metadata in the conf.json configuration file. This way, Fluid Topics knows it must take the new metadata into account instead of the original one.
Note: In SaaS mode, administrators do not have access to the server to modify the conf.json configuration file. Please contact a Fluid Topics representative for assistance.
  1. In the conf.json file, declare the animal_name_custom metadata element and how to display it in each language available on the portal by adding the following lines in the descriptors section:
    {
       
       "ui": {…},
       "metadata": {
          "descriptors": […
             {
             "id": "animal_name_custom",
             "label": {
                "en-US": "Animal",
                "fr-FR": "Animal"
                }
             },
             ...
             ],
             "tags": {…},
             "facets": {…}
          }   
       },  
       "pafs": {…}   
    }
  2. Set the display of the information in tags and in facets by adding the following lines to the conf.json file in facets and tags sections:
    {
       
       "ui": {…},
       "metadata": {
          "descriptors": […],
          "tags": {
             "search": […,
                "animal_name_custom",
                ...
                ],
             "reader": […,
                "animal_name_custom",
                ...
                ]
             },
          "facets": {
             "home": […,
                "animal_name_custom”,
                ...
                ],
             "search": […,
                "animal_name_custom",
                ...
                ]
             }       
          }   
       },  
       "pafs": {…}   
    }
    Attention: The new metadata element has a different name than the original metadata element, e.g., the animal_name metadata element's new name is animal_name_custom. Update the conf.json file by replacing the old name with the new one. If both the old and new names are declared in the conf.json file, the metadata value will appear twice on the Fluid Topics portal.
    Attention: Metadata are case-sensitive. If the case does not match, Fluid Topics does not take the declaration of metadata names into account.
  3. Save the changes made to the conf.json file.

In Fluid Topics, the Animal facet is cleaned:


Facet values are cleaned in the Fluid Topics search panel
Attention: Metadata are case-sensitive. If the case does not match, Fluid Topics does not take the declaration of metadata into account.