One of the significant advantages of Tideway’s datastore is the ability to add custom attributes on the fly, for example with custom patterns usting TPL. However, although these new attributes will be avaiable in search queries and for ubsequent access via TPL, they will only be available in the UI if they have been added to the taxonomy.
Unless you use another “trick” in TPL, when you create the SI. By passing a list of attribute names in a special attribute “_tw_meta_data_attrs”, the UI will display them. See examples in TKU, in the ApacheBasedWebservers pattern:
apache_si := model.SoftwareInstance(key := key,
name := name,
type := type,
version := full_version,
product_version := product_version,
build := build,
config_file_list := config_file_list,
publisher := publisher,
_tw_meta_data_attrs := [‘publisher’]);
