I have the following piece of code in an automation.
plantingsWateringsRecordId = await plantingWateringTable.createRecordAsync({
"Watering": [{ id: recordId }],
"Planting": [{ id: planting.id }],
"Crop Picker" : {name: planting.getCellValueAsString("Sort Name & Category")}
})
The Crop Picker field is a single select field and I want it to expand the selections if the value passed in is not already there. It appears that this can be done using typecast:true but I can't for the life of me figure out where to put it. The documentation is not very clear about this.
Any help would be much appreciated.
Thanks