*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
The example below uses the folio_users.custom_fields table, which has an embedded array elements (called "values" containg three fields: "id","value" and "default") nested within a hierarchy of . "Values" is embedded within two preceding text objects:
- "selectField" (text object) – topmost level
- "options" (text object) – middle level
- "values" (array object) – bottom level. This array object contains the fields we need: "id" and "value"
Here is what the custom_fields json data array looks like:
The code to do that is:
...