Nov 23, 2023 06:26 AM
Hi,
I'm getting this error when trying to append to a linked field. The code in question is:
ModelRange.updateRecordAsync(record, {'Models List': [...record.getCellValue('Models List'),{id : BMRecord[0]}]});
I'm pretty sure that 'record' is indeed a record object, as it's obtained from
let query = await ModelRange.selectRecordsAsync();
let record = query.getRecord(another[0]);
where another[0] is a record ID. Let me know if the rest of my code is needed to diagnose the error, although I can imagine that I'm missing something obvious.
Thank you!
Solved! Go to Solution.
Nov 23, 2023 07:38 AM
I found a workaround - all I needed to do was add all my linked records at once in an array.
Nov 23, 2023 07:38 AM
I found a workaround - all I needed to do was add all my linked records at once in an array.