TM1 Function for TI, ViewDestroy

Deletes cube view

What is the ViewDestroy function?

ViewDestroy deletes a cube view

Where can the ViewDestroy function be used?


What is the syntax for ViewDestroy?

ViewDestroy(CubeName, ViewName)​;

CubeName = Name of the cube​
ViewName = Name of the view from the cube

A demonstration on how to use ViewDestroy

Use ViewDestroy to delete the view, My Reporting View, from the Sales Quota cube.