- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 10, 2023 08:53 AM
I am really struggling to do something as simple as "clear" a records linked field value.
I have tried...
table.updateRecordAsync(r, { "Linked Field": [{id :''}]});
table.updateRecordAsync(r, { "Linked Field": [{id :null}]});
table.updateRecordAsync(r, { "Linked Field": []});
If anyone can let me know how to clear a records linked field that would be amazing.
Thanks
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 10, 2023 09:39 AM
Hey @Mono!
Someone asked a similar question in this thread.
The short answer is that you need to pass an empty array to the linked record field.
It should look like this:
table.updateRecordAsync(recordId, {
"linked_record_field": []
});
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 10, 2023 09:39 AM
Hey @Mono!
Someone asked a similar question in this thread.
The short answer is that you need to pass an empty array to the linked record field.
It should look like this:
table.updateRecordAsync(recordId, {
"linked_record_field": []
});

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 10, 2023 06:05 PM
Your third version was correct. You probably got tripped up in an issue today when scripting was not working and didn't realize that it was a problem with Airtable and not your script. It wasn't reported on Airtable's status page, but multiple users were experiencing issues with previously working scripts today.
table.updateRecordAsync(r, { "Linked Field": []});
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 13, 2023 12:07 AM
Thanks All - Sending through the blank array is indeed the answer.
Looks like the issue with Airtable on Friday was stopping it from working.
Thanks!
