Hi there!
I’m not a developer but I trying to write a script.
Please tell me if is possible to use a variable to define the field name inside updateRecordAsync method.
await table.updateRecordAsync(record, {"Phone": value})
the method accepts variables for “record” and for field “value”
but I want to use a variable for “Phone” (without quote marks) like the example below:
let fieldName = "Phone";
await table.updateRecordAsync(record, {fieldName: value});
I want to let users set up fieldName using input.config
Please help.