<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

ServerSandboxGet function for IBM Planning Analytics (TM1)

    ServerSandboxGet returns the name of the active sandbox for the user. If no sandbox is set as active, the function returns a blank string. 

    In this video, ServerSandboxGet will be used to return the 3rd sandbox for the user running the process.

    Where can the ServerSandboxGet function be used?

    TurboIntegrator

      Which TM1 Server version is the ServerSandboxGet function available for?

      Version 11 and 12

        What is the syntax for ServerSandboxGet?

        ServerSandboxGet(Index, UserName)

        • ​​Index = Index of the sandbox to have the name retrieved. The index is a contiguous number. If one sandbox is deleted, the following sandboxes will have their Index changed, that also means that the first iteration to return a blank value can be used to stop the iteration.​
        • UserName = Optional parameter with a user’s name to check if the sandbox exists. If omitted, TM1 will check the user who is running the process. This parameter only works if an Admin, DataAdmin or the given user runs the process; if not, TM1 will return an error.

        Relevant Functions