# Class DashboardByIdComponent Fusion Embed Beta

An Angular component used for easily rendering a dashboard by its ID created in a Sisense Fusion instance.

Note: Dashboard extensions based on JS scripts and add-ons in Fusion are not supported.

# Example

import { Component } from '@angular/core';
@Component({
  selector: 'code-example',
  template: `
    <div style="width: 100vw;">
      `<csdk-dashboard-by-id *ngIf="dashboardOid" [dashboardOid]="dashboardOid" />` 
    </div>
  `,
 })
export class CodeExampleComponent {
  dashboardOid = 'your-dashboard-oid';
}

To learn more about this and related dashboard components, see Embedded Dashboards.

# Implements

  • AfterViewInit
  • OnChanges
  • OnDestroy

# Constructors

# constructor

new DashboardByIdComponent(sisenseContextService, themeService): DashboardByIdComponent

Constructor for the DashboardById component.

# Parameters

Parameter Type Description
sisenseContextService SisenseContextService Sisense context service
themeService ThemeService Theme service

# Returns

DashboardByIdComponent

# Properties

# Constructor

# sisenseContextService

sisenseContextService: SisenseContextService

Sisense context service


# themeService

themeService: ThemeService

Theme service

# Other

# dashboardOid

dashboardOid: string

The OID of the dashboard to render.