What is the ViewDestroy function?

ViewDestroy deletes a cube view

Where can the ViewDestroy function be used?


Which TM1 Server version is this function available for?

Version 11 and 12

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.