---
sourceDocument: Xanadu Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/now-intelligence

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# PADomainUtils - setFoundation(Boolean foundation)

# PADomainUtils - setFoundation(Boolean foundation) {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Use this method to move or copy only foundational records in a hybrid domain
configuration.
You can implement a hybrid approach by maintaining some types of record in a parent domain and some types in child domains. Generally, the parent domain contains foundational records and the child domain contains higher-level records, such as widgets. The following types of record are considered foundational records.

* Bucket groups
* Buckets
* Scripts
* Breakdown sources
* Indicator sources
* Filters
* Breakdowns
* Managed sources
* Manual breakdowns
* Breakdown mappings
* Breakdown relations

{#r_PADU-setFoundation_boolean__ul_ygw_ycf_ht}Other Performance Analytics records such as widgets and indicators are not foundational records. Set this method to false to move or copy these additional records as well.
{#r_PADU-setFoundation_boolean__table_tzb_nky_2t__entry__3}

| Name | Type | Description |
|-|-|-|
| foundation | Boolean | Indicates if only foundational records should be copied or moved by this PADomainUtils object. |
[Table 1. Parameters]

{#r_PADU-setFoundation_boolean__table_tzb_nky_2t} {#r_PADU-setFoundation_boolean__table_uzb_nky_2t__entry__2}

| Type | Description |
|-|-|
| PADomainUtils | The object calling this function. |
[Table 2. Returns]

{#r_PADU-setFoundation_boolean__table_uzb_nky_2t}  

    var pa = new SNC.PADomainUtils().setFoundation(true);
    pa.copy('bb6b58b01f1310005a3637b8ec8b70dd');


