UI Schema Tool to Modify metadata names

Updated on December 8th, 2022

Prior to Curator 3.6 and the updated Curator System Administrator, you may want to apply schema logic to metadata names to change the display behavior within the Curator web apps. A good example of this would be within the Logger UI. You might want a metadata name of a Boolean type to be displayed as a switch or a text metadata name to have an autocomplete function when typing.
Following this guide, and using the IPV UI Schema Tool will enable you to do this.

It's required to make changes directly in the Curator database for these changes. The UI schema is modified to allow you to make changes to how the metadata is displayed across the Curator web apps. This could be for buttons, lists, search ahead, etc. This knowledge base article specifically covers how you modify the metadata table so that these changes can be applied across all web apps, if you do not apply them to the metadata itself but within a view then it would only apply this UI schema to the view and not the metadata.

  1. Browse to Logger Schema
    • This is a GUI that allows you to generate the appropriate schema json. Copy the Ui Schema json text at the bottom of the screen.
  2. In MySQL go to the metadatanames table
    • SELECT * FROM curatordb.metadatanames;
  3. Paste the Ui Schema json text into the ui_schema column.
  4. Click apply and save within WorkBench.
  5. To update go to any metadata view and add any metadata name to it, then remove it from the view. Remove the above random metadata name from the view. This is necessary unfortunately due to a caching issue in Curator Server.
  6. In the web app's CTRL+F5 to reload the controls.
  7. In Curator Connect, log out and back in to force the reloading of controls.
Was this article helpful?