---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideDynamicNamespace - Global

# GlideDynamicNamespace - Global {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The GlideDynamicNamespace API provides access to dynamic namespace metadata.

This API provides methods that enable you to get dynamic schema values defined in the Dynamic Namespace \[dynamic_namespace\] table. For more details on dynamic namespaces, see [Dynamic Schema](https://www.servicenow.com/docs/access?context=dynamic-schema&version=australia&pubname=australia-platform-administration&ft:locale=en-US).  
See also:

* [GlideDynamicAttribute - Global](https://servicenow-prod.fluidtopics.net/qkURqhb1AentmdQLTt_bMw#GlideDynamicAttributeAPI "The GlideDynamicAttribute API provides access to dynamic attribute metadata.") --- getNamespaceName()
* [GlideDynamicAttributeStore - Global](https://servicenow-prod.fluidtopics.net/LIzpeO8Zm4gqCjkhgpdcbw#GlideDynamicAttStoreAPI "Use the GlideDynamicAttributeStore API to create objects for working with dynamic attributes independently of a table or field.")
  * getDynamicNamespace()
  * setDynamicNamespace()
  {#GlideDynamicNamespaceAPI__ul_jd5_1s2_dhc}
* [GlideElement - Global](https://servicenow-prod.fluidtopics.net/o_Lv25nSEwsDQ_Ej4p8L5Q#c_GlideElementAPI "The GlideElement API provides a number of convenient script methods for dealing with fields and their values. GlideElement methods are available for the fields of the current glide record.") --- getDynamicNamespace()
* [GlideElementDynamicAttributeStore - Global](https://servicenow-prod.fluidtopics.net/fjrJkrdI5LlAxwWa7NS2SQ#GlideElementDynamicAttStoreAPI "The GlideElementDynamicAttributeStore API provides convenient script methods for managing dynamic attributes in the current glide record. Use these methods in conjunction with the GlideRecord API to get and set defined dynamic attribute values.") --- getDynamicNamespace()
{#GlideDynamicNamespaceAPI__ul_dvm_lym_b2c}

## GlideDynamicNamespace - getName() {#ariaid-title2}

Gets name of the dynamic namespace.
{#GDN-getName__table_n5y_sln_b2c__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 1. Parameters]

{#GDN-getName__table_n5y_sln_b2c} {#GDN-getName__table_o5y_sln_b2c__entry__2}

| Type | Description |
|-|-|
| String | Value of the dynamic namespace's name property. |
[Table 2. Returns]

{#GDN-getName__table_o5y_sln_b2c}  
The following example shows how to get the name of a dynamic namespace. In this example, the dynamic attribute store field associated with the namespace is `u_attributes`.

    var gr = new GlideRecord('u_product');
    gr.query();
    gr.next();

    gs.info("Dynamic namespace: " + gr.u_attributes.getDynamicNamespace().getName());

Output:

    Dynamic namespace: u_product/u_attributes

## GlideDynamicNamespace - isActive() {#ariaid-title3}

Returns whether an object is an active dynamic namespace.
{#GDN-isActive__table_n5y_sln_b2c__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 3. Parameters]

{#GDN-isActive__table_n5y_sln_b2c} {#GDN-isActive__table_o5y_sln_b2c__entry__2}

| Type | Description |
|-|-|
| Boolean | Flag that indicates if a dynamic namespace is active. Valid values: * true: The dynamic namespace is active. * false: The dynamic namespace is not active. {#GDN-isActive__ul_trp_nxn_b2c} |
[Table 4. Returns]

{#GDN-isActive__table_o5y_sln_b2c}  
The following example shows how to determine if a dynamic namespace called `u_product/u_attributes` is active. In this example, the dynamic attribute store field associated with the namespace is
`u_attributes`.

    var gr = new GlideRecord('u_product');
    gr.query();
    gr.next();

    gs.info("Dynamic namespace: " + gr.u_attributes.getDynamicNamespace().getName());
    gs.info("Active true/false: " + gr.u_attributes.getDynamicNamespace().isActive());

Output:

    Dynamic namespace: u_product/u_attributes
    Active true/false: false

## GlideDynamicNamespace - isTransient() {#ariaid-title4}

Returns whether an object is a transient dynamic namespace.
* Dynamic namespaces are defined in the Dynamic Namespace \[dynamic_namespace\] table with a data type and a sys_id.
* Transient dynamic namespaces are dynamic namespaces that have been added to a DynamicAttributeStore field without a definition in the Dynamic Namespace \[dynamic_namespace\] table. Transient dynamic namespaces only contain transient attributes.
{#GDN-isTransient__table_n5y_sln_b2c__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 5. Parameters]

{#GDN-isTransient__table_n5y_sln_b2c} {#GDN-isTransient__table_o5y_sln_b2c__entry__2}

| Type | Description |
|-|-|
| Boolean | Flag that indicates if a dynamic namespace is transient. Valid values: * true: The dynamic namespace is not transient. * false: The dynamic namespace is transient. {#GDN-isTransient__ul_trp_nxn_b2c} |
[Table 6. Returns]

{#GDN-isTransient__table_o5y_sln_b2c}  
The following example shows how to determine if a dynamic namespace called `u_product/u_attributes` is transient. In this example, the dynamic attribute store field associated with the namespace is
`u_attributes`.

    var gr = new GlideRecord('u_product');
    gr.query();
    gr.next();

    gs.info("Dynamic namespace: " + gr.u_attributes.getDynamicNamespace().getName());
    gs.info("Is transient? t/f: " + gr.u_attributes.getDynamicNamespace().isTransient());

Output:

    Dynamic namespace: u_product/u_attributes
    Is transient? t/f: false


