PADomainUtils- Global
The PADomainUtils API enables you to copy Performance Analytics records between different domains on the same instance.
Use this API in server scripts to copy Performance Analytics records such as indicators, breakdowns, and dashboards, to different domains. This API enables you to create a Performance Analytics record in one domain and copy that record to any number of additional domains.
Note: This API cannot copy records into the Global domain.
Warning: When configuration records are moved to another domain, scores will not be accessible.
To use PADomainUtils, you must satisfy these requirements:
- Performance Analytics must be enabled.
- The user running the script must have the admin role.
- The instance must use domain separation.
- The script must be run from the global domain.
When moving or copying records, the source and target domains must be different.
PADomainUtils - PADomainUtils()
Instantiates a new PADomainUtils object to move or copy Performance Analytics records from the global domain.- PADomainUtils - PADomainUtils(String domainFrom)
Instantiates a new PADomainUtils object to move or copy Performance Analytics records from the specified domain. - PADomainUtils - setFoundation(Boolean foundation)
Use this method to move or copy only foundational records in a hybrid domain configuration. - PADomainUtils - setOverrides(Boolean overrides)
Use this method before copying records to set the sys_override value of the new record to the original parent record. - PADomainUtils - copy(String runAs)
Copies Performance Analytics records to a different domain. - PADomainUtils - copyJob(String paJob, String runAs)
Copies a Performance Analytics scheduled data collection job record to another domain. - PADomainUtils - copyDashboard(String dashboardId, String runAs)
Copy a dashboard to another domain. - PADomainUtils - move(String runAs)
Moves Performance Analytics records to a different domain. - PADomainUtils - isWriteable(String table, String id)
Evaluate if you can write to a specific record identified by table and sys_id.
Parent Topic:Domain separation and Performance Analytics