⚠️ You are viewing documentation for an older version of Compose SDK.
Version:
# Function DashboardById Fusion Embed
DashboardById(
props):ReactElement<any,any> |null
React component that renders a dashboard created in Sisense Fusion by its ID.
Note: Dashboard and Widget extensions based on JS scripts and add-ons in Fusion – for example, Blox and Jump To Dashboard – are not supported.
# Parameters
| Parameter | Type |
|---|---|
props | DashboardByIdProps |
# Returns
ReactElement< any, any > | null
# Example
import { DashboardById } from '@sisense/sdk-ui';
const CodeExample = () => {
return (
<>
<DashboardById
dashboardOid="65a82171719e7f004018691c"
/>
</>
);
};
export default CodeExample;
To learn more about this and related dashboard components, see Embedded Dashboards.