Hi,
I am trying to adapt/modify scripts that i have found within these forums in order to update a linked field with a recordID defined as an input variable.
I am very limited in knowledge with scripting, through trial and error i have been able to modify and update a single line text field and a single select. I have also managed to clear the cell through a previous failed attempt.
Can anyone help me understand where im going wrong?
Full Script Here.
let config =input.config()
let records = config.step2Records
let drop = config.drops
console.log(drop)
let table = base.getTable(“All Drops”);
for (let record of records) {
await table.updateRecordAsync(record, {
"Collection From": [{id: drop}],
})
}
I have read through all posts similar looking but i am at a loss. I would like the answer but also any reference to learning material would be great.
Many thanks,

