Add dynamic attributes to a record
On this page
Add dynamic attributes to a record
Store dynamic attributes and their values on a record.
Before you begin
Role required: none
To add attributes to a dynamic attribute store field, you must have write access to the table where the store field is located.
About this task
Once you create a dynamic attribute store field and set up the dynamic categories and dynamic attributes for its namespace, you can use one or more of the dynamic attributes to describe your records.
Procedure
-
Navigate to the table that holds your dynamic attribute store field.
-
Create a record by selecting New.
-
In the category reference field, select the dynamic category that contains the dynamic attributes that you want to use.
-
Capture one or more dynamic attributes in the dynamic attribute store field by entering JSON or using the API.
Result
One or more dynamic attributes and their values are stored in the record. Users can query for records that have some value for an attribute. For example:
var gr = new GlideRecord(‘products’); gr.addQuery(‘televisions->screen_type', ‘OLED’); gr.query();
Keep exploring.
Find another answer, or bring this documentation into your own tools.