Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

How to Retrieve Linked Records from a Linked Record Field

Topic Labels: Scripting extentions
1466 1
cancel
Showing results for 
Search instead for 
Did you mean: 

I’m having trouble finding any info about how to retrieve the records contained in a linked record field. In the custom apps there’s a function called .selectLinkedRecordsFromCell, but I’m not seeing something similar in the scripting app documentation nor anything else about how one might do it. Thanks

1 Reply 1

You have to query the linked table, then get the record object by ID. The field value for linked records fields will return something like: [{id: 'recxxxx', name: 'xxxx'] so you’ll want to .map() that to get the ids of each linked record.