How to Retrieve Linked Records from a Linked Record Field

Topic Labels: Scripting extentions
2018 1
Showing results for 
Search instead for 
Did you mean: 
6 - Interface Innovator
6 - Interface Innovator

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.