TM1 Function for TI, PublishView 

A private cube view for everyone to access.

What is the PublishView function?

PublishView publishes a private cube view for everyone to access.

Where can the PublishView function be used?

TurboIntegrator

What is the syntax for PublishView?

PublishView(CubeName,¬†ViewName,¬†PublishPrivateSubsets,¬†OverwriteExistingView);¬†‚Äč

‚ÄčCubeName¬†= Name of the parent cube of the view to be published.‚Äč

ViewName¬†= Name of the view to be published.‚Äč

PublishPrivateSubsets¬†= Boolean value to publish or not view private subsets.‚Äč
– A view cannot be published if any of its subsets are private. If the function is used with this parameter set to 0 and there is a private subset on the view, TM1 will return an error‚Äč
– If any subset on the view has a user-defined consolidation (private roll-up), is not possible to publish the view, therefore the TM1 will return an error, no matter the parameter value‚Äč

OverwriteExistingView = Boolean value that determines if the private view should overwrite an existing view with the same name when published. If the value is set to 0 and there is a public view with the same name as the view to be published, TM1 will return an error.

A demonstration on how to use PublishView

‚ÄčUse¬†PublishView¬†to publish the¬†Finance¬†view from the¬†Employee¬†cube.