Skip to content

The metadata editor#

Administration › Metadata (/admin/metadata) is where the metadata of each connection is designed. It has seven tabs and saves each element separately, so several administrators can work at the same time without overwriting each other.

Before you start#

  • You need Metadata administration. Without it, the page is not offered.
  • The editor works on the active connections, also those marked as Only for metadata administrators.

The page#

The metadata editor in the Structure tab, with the tree on the left and the panel of the Facturas fact table on the rightThe metadata editor in the Structure tab, with the tree on the left and the panel of the Facturas fact table on the right
The metadata editor in the Structure tab, with the tree on the left and the panel of the Facturas fact table on the right

In the header there are:

Element What it does
Connection The selector of the connection being designed, if there is more than one. With only one, the header says its name.
View catalog Opens the connection's catalog explorer in a side panel, with Refresh catalog. See The database catalog.
Export and import A menu with Export metadata…, Import metadata… and Backups…. See Export and import the metadata and Metadata backups. The three are also in the command palette.

Below the header a consistency strip may appear in all tabs: “3 metadata items are no longer in the database”. With View, the Structure tree is filtered by what is missing; with Refresh catalog the database is read again. See “What is no longer in the database”, below.

The tabs#

Tab What it has
Structure The fact tables with their dimensions and metrics, and the auxiliary tables. A tree on the left and the panel of the chosen element on the right.
Relationships The relationships between fact tables, in a diagram or in a list. See Relationships.
Presentation The tree of folders users see. See Presentation tree.
Security The installation's privileges and the connection's universes. See Privileges and universes.
Translations The names and descriptions of the metadata in the other interface languages, as a dictionary in CSV. See Translations.
Guide for assistants The company's definitions and the verified examples that AI assistants read through the MCP. See Guide for assistants.
Usage and validation Who uses…? of any element and Validate content. See Usage and validation.

The chosen tab and element go in the page address, so they can be bookmarked or passed to a colleague.

The structure tree#

The Structure tree has two groups, Fact tables and Auxiliary tables. Each fact table expands into Dimensions and Metrics. Metrics appear in the order in which they are offered to users; the levels of a hierarchy, inside their upper level.

Above the tree:

Element What it does
New fact table… Registers fact tables from the catalog.
New auxiliary table… Registers an auxiliary table from the catalog.
Search the structure Searches tables, dimensions or metrics by name and expands what it finds.
Origin Filters by All, Main metadata or User-defined. Auxiliary tables are always shown.

Next to the name of an element these marks may appear:

Mark What it means
User-defined A user created it when integrating external data, or the EC7 importer brought it as a user metric.
View The fact table is a database view.
No primary key The table has no key: it does not support lists.
It is not in the database The table is no longer in the last catalog read.
Columns missing in the database Some of its columns are no longer in the catalog.

An element's menu#

The ⋯ button of each row, or the right mouse button, opens its menu:

Option What it does
New dimension… and New metric… On a fact table or on its Dimensions and Metrics sections: they open the creation panel.
Up and Down On a metric: they change its order (also with Alt+↑ and Alt+↓). It is saved at once.
Who uses it? Takes you to Usage and validation with the element chosen.
Rename… The alias of a fact table or the name of a dimension or a metric (F2).
Delete… Deletes the element, after showing what it breaks (Del).

Dragging a dimension of type Hierarchy onto another of the same table makes it its lower level (see Hierarchies).

The panels#

When you choose an element of the tree, its panel opens on the right. The panels of a fact table, an auxiliary table, a dimension and a metric have the same shape:

  • at the top, the element's class, its marks and its actions (Who uses it?, View in Presentation, Delete…);
  • collapsible sections, with the properties that are edited;
  • at the bottom, Discard changes and Save changes (in a creation, Cancel and Create dimension or Create metric);
  • afterwards, read-only sections: Where it is used, Technical information (identifier, table, version and, if it was imported from EC7, its code from then) and, depending on the element, Indexes, Values or Groupings.

How it is saved#

  • Each element is saved separately, with Save changes or Ctrl+S (⌘+S on Mac). There is no “save all”.
  • Some things are saved at once, without clicking anything: the order of the metrics, the changes to the presentation tree, the layout of the relationship diagram and the privileges.
  • The access privilege of a dimension or a metric is not changed with Save changes: it has its own dialog, with the preview of whom it affects.
  • If a change affects documents, lists, publications or alerts, on saving it first shows what will happen and asks for confirmation (see Usage and validation).
  • With unsaved changes, changing element, tab, connection or page asks “Leave the item without saving the changes?” (Leave without saving or Keep editing).

If someone else changed it at the same time#

Each save carries the version of the element that was read. If another administrator saved it in the meantime, the save is not done and the panel says so: “Someone saved another change to this item while you were editing it. Reload it to see the current version: what you have typed is kept so that you can copy it.”

  1. Click Reload. The panel shows the current version and, in What you had typed, your changes.
  2. Apply again those you want and click Save changes.
  3. Click Discard what was typed to remove the box.

Dimensions and metrics are part of their fact table: two administrators who change two dimensions of the same table at the same time also get this notice.

What is no longer in the database#

If a table or a column of the metadata disappears from the database (or is renamed), the editor detects it when comparing with the last catalog read:

  • the consistency strip says how many elements are missing;
  • in the tree, the table carries It is not in the database or Columns missing in the database;
  • in the panel, the missing column carries It is not in the database.

The documents that use what is missing will fail when calculated. To correct it:

  1. If the change in the database was a mistake, correct it there and click Refresh catalog.
  2. If it was intentional, change the metadata: remove the column from the dimension, choose another or delete the element.
  3. Launch Validate content to see the affected documents.

Keyboard shortcuts#

Shortcut Where What it does
Ctrl+S A panel with changes Saves the open panel.
F2 Tree Renames the chosen element.
Del Tree Deletes the chosen element.
Alt+↑, Alt+↓ A metric of the tree or of its table's list Moves the metric up or down.
Shift+F10 Presentation and Security trees Opens the element's menu.

See also#