EmbeddedDashboard

Embedded dashboard component for rendering dashboards within pages (without navigation)

Installation

import { EmbeddedDashboard } from 'uxp/components';

Signature

const EmbeddedDashboard: React.MemoExoticComponent<React.FunctionComponent<EmbeddedDashobardComponentProps>>

Examples

// Basic usage - Simple embedded dashboard
<EmbeddedDashboard
  ids={["myapp/dashboard/main"]}
/>
// With default configuration from JSON file
import defaultConfig from './dashboards/equipment-default.json';

<EmbeddedDashboard
  ids={["equipment/dashboard/chiller-123", "equipment/dashboard/chiller", "equipment/dashboard"]}
  defaultConfiguration={defaultConfig}
  allowToConfigure={true}
/>

Properties

Name
Type
Mandatory
Default Value
Example Value

ids

string[]

Yes

-

-

defaultConfiguration

No

-

-

allowToConfigure

boolean

No

-

-

enableUserGroupLayouts

boolean

No

-

-

enableResponsiveLayouts

boolean

No

-

-

Last updated