---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Working with Dynamic Schema

# Working with Dynamic Schema {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Extend Dynamic Schema capabilities by defining dynamic attributes and dynamic categories in a dynamic namespace.

After planning your metadata strategy, you can start building out your schema by creating dynamic attribute records in the dynamic namespace. Formally defining attributes provides several key benefits.

* Ensure data integrity, optimize queries, and improve sorting by defining dynamic attributes with appropriate types. For example, you can define attributes as strings, integers, or dates to enforce type-specific behavior.
* Organize dynamic attributes and enable inheritance by adding them to dynamic categories. For example, you can define dynamic attributes in a parent category, and automatically access them in child categories that inherit those attributes.
* Define a fixed set of values for an attribute by creating a dynamic choice set. For example, you can control which values are available in an attribute, which categories or namespaces they appear in, and override the values in specific cases.
* Reuse dynamic attributes across multiple dynamic attribute store fields. For example, you can define a dynamic attribute in a dynamic namespace, and then use that attribute in any store field that belongs to that namespace.

{#working-with-dynamic-schema__ul_kdv_jrv_zfc}

## Implementing Dynamic Schema {#working-with-dynamic-schema__section_of2_kzv_zfc}

Implement Dynamic Schema using the following process.

1. [Create a dynamic attribute store field](https://www.servicenow.com/docs/CoDnH95dYmWqlaBEBXSbcQ "Store dynamic attributes on a record using a dynamic attribute store field.")

   Get started by creating a dynamic attribute field for storing your dynamic attributes.
2. [Create a dynamic attribute](https://www.servicenow.com/docs/~aAcKbMBwhLsIJJuBjRmLQ "Define one or more dynamic attributes that describe a record.")

   Define one or more dynamic attributes in the dynamic namespace that's associated with the dynamic store field.
3. [Create a dynamic category](https://www.servicenow.com/docs/SmGkkU62E~eQ6HhBwTvk8w "Create a container for organizing dynamic attributes.")

   Define one or more dynamic categories in the dynamic namespace.
4. [Include dynamic attributes in a dynamic category](https://www.servicenow.com/docs/0fQ0dZabu8iXE31KlynsHg "Categorize specific dynamic attributes by relating a dynamic attribute to a dynamic category.")

   Organize your dynamic attributes using the dynamic categories that you defined.
5. [Create a dynamic choice set](https://www.servicenow.com/docs/lAThrQlaUI0hB_gGjKxXZg "Define a fixed set of values for an attribute.")

   Define a fixed set of choices for an attribute and create choice overrides as needed.
6. [Add dynamic attributes to a record](https://www.servicenow.com/docs/DnJMlIeJyoTYS42UlhTn3g "Store dynamic attributes and their values on a record.")

   Populate the dynamic attribute store field using the GlideRecord setValue() method or by entering attributes and values as JSON.
{#working-with-dynamic-schema__ol_stb_4zv_zfc}

