Create Dashboard Definition

Use this REST API to create a Planning dashboard definition. You can specify the dashboard name, folder, layout, components, visualization properties, settings, and optional business rules.

This API supports the current Planning dashboard artifact. Legacy dashboards, Infolets, and composite forms are outside its scope.

Required Roles

Either of the following:

  • Service Administrator, or
  • Any application role with the Interactive User granular role.

Required Permissions

The operation validates access to the application, the existing destination folder, and the sources referenced by dashboard components. Ensure that the requesting user has the permissions needed to create the definition in that folder and to access its referenced sources.

REST Resource

POST /HyperionPlanning/rest/v3/applications/{appname}/dashboarddefinitions

Request

The request body is a JSON object containing the dashboard definition.

The following table summarizes the path parameters.

Table 3-389 Path Parameters

Name Description Type Required Default
appname Name of the application in which to create the dashboard. Path Yes None

The following table describes the request body properties identified in the specification.

Table 3-390 Request Body Parameters

Name Description
name Name of the dashboard.
description Optional dashboard description.
instructions Optional dashboard instructions.
parentId UUID of an existing destination folder. Do not supply this property together with folderPath.
folderPath Path of an existing destination folder, such as /Library/Planning. Do not supply this property together with parentId.
settings Dashboard settings, including borders, global POV, POV bars, background, style, and title behavior.
layout Dashboard layout configuration. Supported types are scrollable and autofit. The default layout type is scrollable.
components Dashboard component definitions, including keys, sources, and visualization properties. Layout references identify components by key.
instructionsEnabled Boolean that controls whether dashboard instructions are enabled.

Layouts and Limits

Table 3-391 Supported Layouts

Layout Limit Requirements
scrollable 1–16 components Uses a twelve-column canvas. Each item specifies component, x, y, w, and h. The sum of x and w cannot exceed 12.
autofit 1–12 components Uses a preset or recursive binary split tree. Each split has two horizontal or vertical children. Maximum depth is six. Custom leaves reference a components[].key.

Common autofit presets are single, row, column, and grid.

The single preset requires exactly one component. The row and column presets support at most two components. If weights are supplied for a row or column, specify one positive weight per component, totaling 100. For larger layouts, use grid or nested binary splits. Nested child sizes must be 10–90 percent. The overall component limit and maximum depth still apply.

Component and Visualization Requirements

Supported visualization types are area, bar, bubble, column, combination, doughnut, funnel, gauge, geomap, grid, line, pie, pyramid, radar, sankey, scatter, table, tile, and waterfall.

  • A grid visualization uses native Forms rendering, has no dashboard property pane, and displays all available cells.
  • Applicable native non-grid chart rendering for form, ad hoc grid, or standard form sources is limited to 100 rows and 100 columns. This rendering limit does not establish a uniform truncation rule for REST grid exports.
  • A Quick Analysis component disables global POV.
  • Custom colors require style to be default. The built-in light and dark styles manage colors.
  • A named public property cannot also be specified in options or advanced. Such duplicate definitions are rejected.

Example URL and Payload

The following example creates a dashboard with a line chart and a form grid.

https://<BASE-URL>/HyperionPlanning/rest/v3/applications/Vision/dashboarddefinitions

The example requires an existing /Library/Planning folder and a source form in cube Plan1. Adjust the folder and cube for your application.

Replace {form-uuid} with the UUID of a form accessible to the requesting user.

{
  "name": "Revenue Review",
  "folderPath": "/Library/Planning",
  "layout": {
    "type": "scrollable",
    "items": [
      {
        "component": "revenue",
        "x": 0,
        "y": 0,
        "w": 6,
        "h": 4
      },
      {
        "component": "drivers",
        "x": 6,
        "y": 0,
        "w": 6,
        "h": 4
      }
    ]
  },
  "components": [
    {
      "key": "revenue",
      "title": "Revenue Trend",
      "form": {
        "id": "{form-uuid}"
      },
      "visualization": {
        "type": "line"
      }
    },
    {
      "key": "drivers",
      "title": "Driver Input",
      "form": {
        "id": "{form-uuid}"
      },
      "visualization": {
        "type": "grid"
      }
    }
  ],
  "rules": [
    {
      "id": "drivers",
      "cube": "Plan1",
      "calcType": 3
    }
  ]
}

Response

A processed authoring request returns HTTP status 201 Created and a dashboard reference containing id, name, links, and optional normalization warnings. Warnings are distinct from hard validation failures. Retrieve the saved definition to obtain persisted component keys.

Example of a Successful Response

HTTP/1.1 201 Created

Component Keys and Form Rules

Each component must have a unique, nonblank key in a create or replacement request. Use that client key for layout references and form-component rule associations in the same request. Planning maps client keys to server-generated persisted component keys. After create or replacement, retrieve the definition using Get Dashboard Definition and use the returned keys for subsequent component updates, import, and export. Keys can change after replacement or restructuring.

Embedding a form does not automatically opt in to its source-form save callbacks. To select the source-form rule association, add a dashboard rules entry with calcType set to 3. Its id is the form component client key in the same create or replacement request, not a form UUID or business rule name. Planning maps that key to persisted component identity. Callback lifecycle settings come from the current source-form configuration.