May 10, 2022 05:45 PM
I’ve gone documentation blind, so my apologies for what is likely an obvious question.
What is the syntax for traversing/updating nested objects. Specifically,
Simple Type works fine:
await table.updateRecordAsync(record.id,{“Estimate ID”:12345})
This does not:
await table.updateRecordAsync(record.id,{“Status”:‘Estimate’})
Second one is a single select field, and based on the error, I’m supposed to address it like an array or a nested object - but neither . nor notation seems to work, and I don’t see any call or casting functions that apply.
Please tell me what Im missing.
May 10, 2022 06:12 PM
await table.updateRecordAsync(record.id, {
"Status": {name: 'Estimate'}
})
May 12, 2022 01:20 PM
Thank you, works perfectly.
I swear I tried that - I must have had some other error when I did.