How to use the new Dynamic Schema in Xanadu

William Leung
Tera Contributor

Hi. Can any one show how the new Dynamic Schema introduced in Xanadu can be setup?

 

Reading the documentation:

https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/field-administ...

 

Up until the second last part "Create a dynamic attribute store field", the field with type "Dynamic Attribute Store" is just a multi-line text box? Even I've referenced it to another field of Dynamic attribute group, the "Dynamic Attribute Store" field has no difference...

 

Then the last part "Add dynamic attributes to a record", step 2 (selecting New) should be a UI thing, but step 4 suddenly is a scripting thing?

 

I spent the whole afternoon re-doing the steps and still couldn't wrap my head around.

Can any genius shed some light on me? 😞

3 REPLIES 3

-O-
Kilo Patron
Kilo Patron

I'm researching the same.

If I read documentation page Add dynamic attributes to a record which states:

Procedure
  1. Navigate to the table that holds your dynamic attribute store field.
  2. Create a new record by selecting New.
  3. In the dynamic schema reference field you created, select the group, groups, category, or categories that contain the attributes that you want to store on the record.
  4. Call setValue() in the GlideRecord API and send data to the dynamic attribute store field.

specifically point 4, to me it appears that for now there is no OOB UI that supports editing these kind of fields and you are expected to update the attributes using code.

MuniraR
Tera Contributor

Hello @William Leung @-O- 

Any luck on this? I'm stuck on the same line too.

I give up using this field type.

I agree with @-O-  that this field seems to be interactive via code/API but not via UI.