Skip to content

Usage and validation#

Changing the metadata changes what users' documents calculate. ECenter helps you do it without surprises in three ways: it shows the impact of a change before saving it, it says who uses each element and it validates the content of a whole connection against the current metadata.

Before you start#

  • You need Metadata administration.
  • What you cannot open (another user's workbook without permission, for example) is counted, but not named.

The impact on saving#

When a metadata save affects what uses it (deleting a metric, changing an expression, a table's alias, a relationship, a privilege or a universe), ECenter does not just save it: it shows a report and asks for confirmation. The button to continue states the action (“Delete anyway”, “Save anyway”). If something prevents the change, you can only Close.

The impact report of deleting the Margen metric, with the documents that stop working and the formula that prevents itThe impact report of deleting the Margen metric, with the documents that stop working and the formula that prevents it
The impact report of deleting the Margen metric, with the documents that stop working and the formula that prevents it

The report groups what is affected by what happens to it:

Effect What it means
Prevented by A rule that does not allow saving: a formula that uses the metric being deleted, a lower level of the dimension being deleted, a universe of the privilege being removed.
Stops working The document, the list or the alert can no longer be calculated.
Will be shown without it Whoever stops seeing a piece of data receives the document without it. It never breaks the document.
Deleted or rewritten It is deleted with the element (a grouping of a dimension being deleted) or rewritten by itself (an expression that cites the alias that changes).
Row access changes The universes its users receive change.
The result changes It is still calculated, but with other figures (another expression, another relationship). Its kept data expires and is recalculated.
Names only Only what is seen changes: a name, a format, the placement.

In addition, depending on the change:

  • Who sees “…”: in a privilege change, who stops seeing it and who starts seeing it, with the roles of the previous privilege and of the new one. Click the figure to see the users.
  • Universes that change: the tables whose universes arrive differently, with the affected users.
  • Already broken: what was not working before the change.
  • With many affected objects, only some are checked: “There are so many affected objects that only some have been checked: the rest will be checked when calculating it”, with a link to Validate content.

What is affected can be anything that uses the metadata: cubes, charts, maps and forms of the workbooks, sections (through their segmentation), lists, documents and sections published in the portal, blocks, master filters and drill down of the templates, scheduled recalculations and recalculation groups (also through the dimension or the metric of their “only if there is new data” condition), bookmarks, subscriptions, data alerts and embedding host applications. The links open in another tab, so as not to lose what is being saved.

Delete something that is in use#

Deleting a workbook, a list, external data or a geographic layer that others use also asks first, with what uses it grouped by module: the portal pages, the publications, the scheduled tasks, the subscriptions… What you can open appears by its name; the rest, counted.

Who uses…?#

The Who uses…? section of the Usage and validation tab says what uses an element of the metadata, directly or through a formula, a hierarchy or a relationship.

  1. In Metadata item, type part of the name of a table, dimension, metric, relationship, universe, list, folder or grouping and choose it.
  2. Read the result: how many objects use it and, by module, which ones.

You also get there from Who uses it? in each panel and in the tree's menu, and from the Where it is used section of each panel.

The result has:

  • In the metadata itself: what uses it inside the metadata (the formulas that use a metric, the levels of a hierarchy).
  • One section per module (workbooks, lists, portal, scheduling, bookmarks, subscriptions, alerts, embedding) with each object and what it uses of it.
  • Under each document of a workbook that you can modify, when it was last opened (“Last opened on …”) or “No opens recorded” if it has not been opened within the usage that is kept. It helps you know whether a change affects something that is still used.
  • What you cannot open, counted without naming it.
  • For a relationship, ECenter calculates the exact path of the joins of up to 2000 objects (ecenter.metadata.impact.max-revalidated); of the rest it says that “they cite it or combine its two tables” and counts them separately.

From the result you can Change access privilege…, Open in Structure or, for a grouping, Open in Groupings.

Validate content#

Validate content checks everything that uses the connection's metadata (the workbooks with their sections and documents, the lists, the portal publications, the scheduled tasks and the guide for assistants) against the current metadata, and lists what no longer fits, whatever the cause: a deleted element, a column that is no longer in the database, a missing relationship, a section of the guide that cites what no longer exists or what another privilege protects, or an example that is no longer valid or whose fixed result has changed figure.

  1. In Usage and validation, click Validate content.
  2. Wait. The validation is a background job: you can follow it in Activity and keep working.
  3. Read the result:
    • Nothing broken: everything fits the metadata; or how many objects are broken;
    • Metadata warnings, if any. They do not break anything, but it is advisable to review them:
      • the metrics that calculate with columns protected with another privilege;
      • the guide's examples with a fixed result that have been checked with privileges other than those of whoever fixed it;
      • the fact tables that bypass the universes of others. They are those that have no universes and do not inherit them through their relationships, but have a dimension of the same auxiliary table as the column of another's universes (for example, a summary table with the zone, while the customers are restricted by zone). Whoever only sees part of the data in the other tables sees everyone's in that one, and an AI assistant can reach it. It is fixed with a universe in Security, not with a description;
    • one section per cause, with the metadata elements it names (which take you to their panel in Structure) and the affected objects.
  4. If you need it, click Export › CSV (spreadsheet).

Run the validation:

  • after changing a connection's database or engine;
  • after importing a package or restoring a metadata backup (the wizard offers it when it finishes);
  • after large changes in the metadata;
  • from time to time, as a review.
The Validate content section of the demonstration with the result “Nothing broken: everything fits the metadata”The Validate content section of the demonstration with the result “Nothing broken: everything fits the metadata”
The Validate content section of the demonstration with the result “Nothing broken: everything fits the metadata”

Configuration#

Property Default What it is
ecenter.metadata.impact.max-revalidated 2000 Objects revalidated on saving; of the rest, what is deleted that they use breaks them and the rest appears unchecked.
ecenter.metadata.impact.max-listed 200 Objects listed in the report; the counts are always complete.
ecenter.metadata.impact.max-users-listed 50 Users listed in each audience.

See also#