Declare Metadata - Fluid Topics - 3.4 - Technical Notes

Enrich and Clean Metadata

Product
Fluid Topics
FT_Version
3.4
Category
Technical Notes
audience
public

For the portal to display enriched 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 subclass_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": "subclass_custom",
                "label": {
                   "en-US": "Transportation",
                   "fr-FR": "Transport"
                   }
                },
                ...
             ],
             "tags": {…},
             "facets": {…}
          }   
       },  
       "pafs": {…}   
    }
    Attention: Metadata are case-sensitive. If case does not match, Fluid Topics does not take the metadata information into account.
  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 parts:
    {
       
       "ui": {…},
       "metadata": {
          "descriptors": […],
          "tags": {
             "search": […,
                "subclass_custom",
                ...
                 ],
             "reader": […,
                "subclass_custom",
                ...
                ]
             },
          "facets": {
             "home": […,
                "subclass_custom”,
                ...
                ],
             "search": […,
                "subclass_custom",
                ...
                ]
             }       
          }   
       },  
       "pafs": {…}   
    }
    Attention: The new metadata element has a different name from the original metadata element, e.g., subclass metadata element's new name is subclass_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.
  3. Save the changes made to the conf.json file.

In Fluid Topics, the Transportation facet is hierarchized:


Facet values are hierarchized in the Fluid Topics search panel