ViewExists

ViewExists determines whether a specific public view exists on the server from which a TurboIntegrator process is executed. The function returns 1 if the view exists on the server, otherwise it returns 0. Note that this function cannot be used to determine the existence of private views.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

ViewExists(CubeName, ViewName);

Argument

Description

CubeName

The name of the cube that is the parent of the view whose existence you want to confirm.

ViewName

The name of the public view whose existence you want to confirm

Example

ViewExists('Inventory', 'FebClosing');

This example determines if FebClosing view of the Inventory cube exists on the server.