PublishView
PublishView publishes a named private view on the server.
This function is valid in TM1® 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 cannot be used to publish an MDX view that contains private subsets. To successfully use the PublishView function to publish a private MDX view, you must ensure that the MDX View does not reference any private subset. |
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. |