PublishView function for IBM Planning Analytics (TM1)

    Where can the PublishView function be used?

      Which TM1 Server version is the PublishView function available for?

        What is the syntax for PublishView?

        • 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), it is not possible to publish the view, therefore the TM1 will return an error, no matter the parameter value​
        • OverwriteExistingView = Boolean value determining 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.

        Relevant Functions