---
title: "admCopyDashboard"
canonical: "https://support.appfire.com/space/PSJC/748162099/admCopyDashboard"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Copies a dashboard

Copies the the dashboard. The name becomes 'Copy of <original name>'. Optionally changes the owner for the copy.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admCopyDashboard(dashboardId[, newOwnerId]) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | copyDashboard(dashboardId[, newOwnerId]) |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| dashboardId | string | Yes | The dashboard to be copied |

### Or

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| dashboardId | string | Yes | The dashboard to be copied |
| newOwnerId | string | Yes | The owner of the copy |

## Return Type

**[JDashboard](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

The dashboard, copied, optionally with some other user as owner

## See also

> Macro (contentbylabel)