Selecting title elements for the CubeViewer object

You can set the title elements in a CubeViewer object by adding the title parameter to your URL to specify the dimension and element name.

Use the following format and parameters:

Title_DimensionName=ElementNameOrIndex

Parameters:

DimensionName
The name of the title dimension that you want to change.
ElementNameOrIndex
The element name or the element index of the new title element you want to select.

If you want to select the new title element by element index, instead of element name, include the UseIndex parameter in the URL as follows:

&Title_DimensionName=ElementIndex&UseIndex=True

Example

Use the following example to first open a CubeViewer and then change the title element.
  1. Copy and paste the following URL directly into the address bar of your web browser to first open the CubeViewer.

    http://localhost:9510/tm1web/UrlApi.jsp#Action=Open&Type=CubeViewer&Cube=plan_BudgetPlan&View=Budget%20Input%20Detailed&AccessType=Public&AdminHost=localhost&TM1Server=Planning%20Sample

  2. To change the title element, copy and paste the following URL into the address bar of the same web browser session.
    http://localhost:9510/tm1web/UrlApi.jsp#Title_plan_version=FY 2003 Budget
  3. Copy and paste only the parameter to the end of the base URL to update the title element.

    Title_plan_business_unit=Canada

    Tip: You only need to update the parameter section of the URL when using parameters to apply changes. The base URL can remain unchanged.
  4. Try using the UseIndex parameter to select a new title by element index.

    Title_plan_business_unit=7&UseIndex=True