RefreshMdxHierarchy

RefreshMdxHierarchy updates the MDX hierarchies in a server without requiring you to restart the server.

Use this function after configuring or editing the custom named hierarchy levels for a dimension in the }HierarchyProperties control cube.

For details on using named levels with dimensions, see the related section in the TM1 for Developers documentation.

This function is valid in processes only.

This function is not available in processes on Planning Analytics Engine.

Syntax

RefreshMdxHierarchy(dimensionName, hierarchy)

Argument

Description

dimensionName

Optional string parameter to specify a specific dimension to update.

Leave this parameter blank to update all dimensions.

hierarchy

The name of the hierarchy within the dimension. This is an optional parameter.

Example

Update all dimensions:

RefreshMdxHierarchy('');

To update only the customers dimension:

RefreshMdxHierarchy('customers');