Accessing record field values in UI Builder
Problem
You're building something on top of a record page in UI builder and you want to access one of the fields of the active record.
Solution
You can use this poorly documented API to access form field values. Note this only works for fields that are visible on the form.
api.data.record.form.fields.<field_name>.value
For example, to get the value of the short_description
field of the active record, you can use:
api.data.record.form.fields.short_description.value;