PADomainUtils - copyDashboard(String dashboardId, String runAs)

Copy a dashboard to another domain.

Table 1. Parameters
Name Type Description
dashboardId String The sys_id of the dashboard to copy.
runAs String The user whose domain you want to copy the dashboard to.
Table 2. Returns
Type Description
void

Optional example explanation

//Copy Incident Management dashboard from global to user's domain
var pa = new SNC.PADomainUtils();
pa.copyDashboard('a64b7031d7201100b96d45a3ce610335','09ff3d105f231000b12e3572f2b4775d');