Skip to main content

How to Retrieve Linked Records from a Linked Record Field

  • October 1, 2020
  • 1 reply
  • 25 views

Forum|alt.badge.img+6

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

Kamille_Parks11
Forum|alt.badge.img+27

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.