MetadataTable - adobe-dmeservices/custom-metadata GitHub Wiki

Table Fields

Table fields group properties together so that corresponding array values retain their relationship. These fields are displayed as a table, and each column represents an independent XMP property with an array value. This is especially useful when you have multiple related properties, but those properties are not part of a Structure.

For instance, if an image was created using several cameras, you might want to record correlated details about shutter speed, aperture, lens length, filters and so on for each camara separately. While a Structure could do this, many asset management systems do not understand Structures. Using a Table, each row in the table would then correspond to a specific lens and its characteristics.

Once you create a Table field, you can add properties, which will be shown left to right in the Form. Tables support Text, Number, and Dropdown field types. Note that fields within a Table have reduced features. For instance, Language Alternatives are not supported with Text and there are no number formatting options with Number.

  • Select the Table at the top of the hierarchy on the left, then click the + Insert Child button at the bottom of the hierarcy view.
  • Chose a field type for the new property. Unlike a Structure, each child is an independent property in the asset's XMP. Enter its required details and set any additional options, if desired.
  • Add additional properties as required.

Each field requires a Display Name, which will appear in the user interface to identify the field.

Tables are stored as arrays. Tables support structured (Sequence) or unstructured (Bag) arrays.

You can optionally set a Custom Tool Tip that will appear when a user hovers over the name of this property in your View.

You can optionally limit the number of rows in your table. If you enter a limit here, then the table will not allow more than the specified number of rows. This can be useful when combined with Row Headers.

You can optionally include Row Legends. These will appear on the left hand side of their corresponsing rows, and they will appear in the order you enter them here. If you allow more rows in the Table than there are Row Legends, you may have rows at the bottom with no Legends.