PublishView

PublishView publishes a named private view on the server.

This function is valid in TurboIntegrator processes only.

Syntax

PublishView(Cube, View, PublishPrivateSubsets, OverwriteExistingView);

Argument

Description

Cube

The name of the cube containing the private view to be published.

View

The name of the private view to be published.

PublishPrivateSubsets

This Boolean argument (1 or 0) determines if any private subsets present in the view should also be published.

If PublishPrivateSubsets is true (1), all private subsets used in the view are published along with the view.

If this argument is false (0), private subsets are not published. A public view cannot contain private subsets, so the view will not be published and an error will be written to the TurboIntegrator log file.

Note:

If a private subset contains another private subset as a user-defined consolidation, the subset can never be published using the PublishView function, regardless of the value of the PublishPrivateSubsets argument.

The PublishPrivateSubsets argument is ignored when the PublishView function is used with an MDX view. Any private subsets used in a MDX view remain private. The view fails to render for users without access to the private subset of the same name.

OverwriteExistingView

This Boolean argument (1 or 0) determines if any existing identically named public view should be overwritten when the private view is published.

If OverwriteExistingView is true (1) , any existing identically named public view will be overwritten when the private view is published.

If this argument is false (0), the public view will not be overwritten, the private view will not be published, and an error will be written to the TurboIntegrator log file.