Table Widget

General

Background

For the editing of tables the plugin Metadata variation was used in the old client, which could be integrated as a widget into an FS detail

old table widget1
old table widget2
MetaDataVariation is not used and supported anymore for new HTML5 OMN client

New solution

Instead of MetadataVariationPlugin a new informationTyp TableWidget is available in FS-Detail configuration allowing to manage metadata in tables for MAM, PIM and Project objects

How to configure

Now there is no need to configure FSDetails with Table Widget information type and specific MetadataVariation plugin for it. Everything is being configured directly in FSDetail config

table widget editable

New configuration contains the next columns to configure:

  • Visible: visibility flag for column in table widget;

  • Sort by default: can be set only for one column, which will be sorted by default in table widget;

  • Identifier: string identifier of column (metadata attribute stored in table);

  • Type: information type for column. Determines which editor will be used for concrete column (or it can be read only if "Label" is set);

  • Column size: size of a column in px;

  • Format: format of displaying value. Used only for dates;

  • Precision: precision of numeric values;

  • Limitation type: type of validation, which will be applied to column: STRICT means non-ability to save data (marked as error), LAZY means warning user with the possibility to save (marked as warning);

  • Min size: min length of provided value. Used for string and clob types only;

  • Max size: max length of provided value. Used for string and clob types only;

Localization

Path localization for columns: Localization → Content plug-ins → FSDetail → name of the plug-in → keys: FSDetail.row.tabel.xxx

backend localization1

Path localization for the name of the table widget: Localization → Content plug-ins → FSDetail → name of the plug-in → keys: FSDetail.row.label.xxx

backend localization2

The same for PM and PIM2 modules

What to consider when migrating from MDT

When migrating from MetadataVariations plugin you need to change information type of row in FSDetail from "Table widget" to "Table widget editable"

Before:

old table widget

After:

new table widget

As MetadataVariation plugin is not used anymore, all it’s configuration is moved into the configuration of FSDetail. So, as an example, information types for editors should be configured directly in FSDetails. Example of old implementation in MetadataVariations:

mdv config

Welcome to the AI Chat!

Write a prompt to get started...