Import Dashboard Data
Use this REST API to import data into selected writable, form-backed components of a Planning dashboard. Identify the dashboard by its REST UUID or name.
This operation performs dashboard save processing and associated save callbacks. It uses existing form behavior for grids, POV, callbacks, cell notes, supporting detail, dry runs, and persistence.
Components backed by non-form sources are unsupported.
This API supports the current Planning dashboard artifact. Legacy dashboards, Infolets, and composite forms are outside its scope.
Required Roles
Service Administrator
Required Permissions
The operation requires effective read access to the dashboard and read access to the source form. Saving submitted data is subject to the underlying form-save permissions and data-write controls.
Editing a dashboard definition and entering data are different permissions. Dashboard definition-edit access is not required by this operation. Dashboard read access alone does not grant permission to write cells.
REST Resource
POST /HyperionPlanning/rest/v3/applications/{appname}/dashboards/{idorname}/importdata
Request
The request identifies the writable form-backed components to process and supplies their data.
The following table summarizes the path parameters.
Table 3-401 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 into which to import data. Encode spaces and other characters as required for a URL path. | Path | Yes | None |
The following table identifies known request properties. The form grid payload must follow the source form import contract.
Table 3-402 Request Body Parameters
| Name | Description |
|---|---|
components |
Required, nonempty array of writable form-backed component submissions. |
components[].key |
Required persisted component key returned by Get Dashboard Definition. |
components[].dataGrid |
Required grid payload for the selected source form; follows the form import contract. |
globalPov |
Dashboard-level POV selections. |
formPage |
Form page selection; follows the form import contract. |
rulePrompts |
Form rule prompt values; follows the form import contract. |
dashboardRulePrompts |
Explicit dashboard rule prompt values. |
Save Processing
- Save processing is driven by dirty or submitted writable components. Unchanged component grids are not automatically resubmitted.
- Dashboard save processing executes associated save callbacks.
- A Before Save failure can prevent data persistence.
- Dashboard-global Groovy rules do not receive a form
operation.gridcontext. Form or component Groovy callbacks can operate on the form grid. - Explicit dashboard rule prompt values can be supplied through
dashboardRulePrompts. Hide Promptcontrols browser prompt presentation and is not a REST requirement.Use Members on Formchanges how the runtime attempts to derive a runtime prompt value from the available form or dashboard context.
Example URL
The following example addresses the Revenue Review dashboard.
https://<BASE-URL>/HyperionPlanning/rest/v3/applications/Vision/dashboards/Revenue%20Review/importdata
Response
A processed request can return HTTP status 201 Created even when its body reports FAILED. HTTP status alone is not proof that data was saved.
Inspect the aggregate state (SUCCESS, PARTIAL_SUCCESS, or FAILED), each component status or importStatus, and any callbackFailures or dashboardRuleFailures. Mixed outcomes are possible. A later failure does not imply that successful components were rolled back.
For verification, first inspect all import results and failures. Export Dashboard Data can subsequently retrieve data, but it executes persisted load rules and callbacks and can have side effects.
Example HTTP Status
The following status line shows the HTTP result only. Always inspect the response body to determine the import outcome.
HTTP/1.1 201 Created
Source-Form Rule Opt-In
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.
For a complete definition and rule association example, see Create Dashboard Definition. Use the persisted component keys returned by Get Dashboard Definition for import submissions.