PADomainUtils - copyDashboard(String dashboardId, String runAs)
Copy a dashboard to another domain.
| Name | Type | Description |
|---|---|---|
| dashboardId | String | Sys_id of the dashboard to copy. |
| runAs | String | User whose domain you want to copy the dashboard to. |
| Type | Description |
|---|---|
| void |
//Copy Incident Management dashboard from global to user's domain
var pa = new SNC.PADomainUtils();
pa.copyDashboard('a64b7031d7201100b96d45a3ce610335','09ff3d105f231000b12e3572f2b4775d');