---
title: "createDashboard"
canonical: "https://support.appfire.com/space/PSJ/15487276/createDashboard"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | createDashboard(dashboardName, owner[, description]) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Creates a dashboard with name, owner and description.

Creates a dashboard with name, owner and description.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| dashboardName | String | Yes | The dashboard name |
| owner | String | Yes | An username or key of the dashboard owner |
| description | String | No | The dashboard description |

## Return Type

**Number**

Returns the id of the created dashboard.

## Example

```
number dashboardId = createDashboard("dashboard for Agile project","admin");
```

## See also

> Macro (contentbylabel)