Replace Dashboard Definition
Use this REST API to replace the definition of a Planning dashboard. Identify the dashboard by its REST UUID or name.
Submit the replacement dashboard definition. To update selected properties while preserving omitted layout and components, use Update Dashboard Definition.
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 requires edit access to the dashboard. The replacement definition is also subject to access checks for its destination folder and referenced component sources.
REST Resource
PUT /HyperionPlanning/rest/v3/applications/{appname}/dashboarddefinitions/{idorname}
Request
The request body contains the replacement dashboard definition.
The following table summarizes the path parameters.
Table 3-396 Path Parameters
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
appname
|
Name of the application containing the dashboard. | Path | Yes | None |
idorname
|
REST UUID or name of the dashboard to replace. Encode spaces and other characters as required for a URL path. | Path | Yes | None |
The following table describes the dashboard definition properties identified in the specification.
Table 3-397 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. |
The definition can also contain optional rules.
Layouts and Limits
The replacement definition must satisfy the following layout requirements.
Table 3-398 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.
Settings and Component Validation
The replacement definition must satisfy the applicable settings and component requirements.
- A Quick Analysis component disables global POV.
- Custom colors require
styleto bedefault. The built-inlightanddarkstyles manage colors. - A
gridvisualization uses native Forms rendering 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 named public property cannot also be specified in
optionsoradvanced. Such duplicate definitions are rejected.
Example URL and Payload
The following illustrative request replaces the definition of the Revenue Review dashboard with a two-component scrollable definition.
https://<BASE-URL>/HyperionPlanning/rest/v3/applications/Vision/dashboarddefinitions/Revenue%20Review
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
}
]
}
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.
Response
A processed authoring request returns HTTP status 200 OK 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.