Go to README
What does this plugin do?
This plugin is designed to streamline metadata management by enabling the automatic mapping of shape-level metadata to item-level metadata. This functionality is essential for environments where technical metadata (such as video codec, bitrate, resolution, filesize or duration) extracted at the shape level needs to be centrally accessible and searchable at the item level. With flexible configuration options, the plugin allows system administrators to define custom mapping rules, either on a per-shape basis or as global defaults, ensuring that only the desired metadata fields are transferred. This simplifies workflows, reduces manual entry, enhances metadata consistency, and improves searchability across the Cantemo system.
How to trigger:
Mapped Metadata plugin is triggered automatically by the system when new items are ingested into the system when the new item is indexed. If a new mapped metadata configuration is added into the system, in order to update any existing items in the system, simply select the item(s), click the bulk action button (gear icon on v5 and vertical ellipses on v6), and select 'Reindex Items'.
User Experience:
After creating two new metadata fields in our CineSys Metadata Group called cs_file_size (field type 'Float') and cs_file_size_string (field type 'String/Text'), we configured our Mapped Metadata plugin with the following
{
"map": {
"cs_file_size": {
"selector": [
"containerComponent.file.size"
],
"source": "shape"
},
"cs_file_size_string": {
"selector": [
"cs_shape.fileSizeFormatted"
],
"source": "shape"
}
}
}
Once that configuration is added, any new item ingested into the system will automatically set those fields with the information in the original shape's metadata. Then on any existing item(s), simply run the 'Reindex Items' action, reload the page, and you will now see that metadata set on the item(s). In our system, we have made the field 'cs_file_size_string' as 'Representative' which now adds that field in the Search tab as a new column to display for items in search results.
README