Skip to main content
Solved

How to get linked field table id?

  • June 5, 2020
  • 1 reply
  • 16 views

Is it possible to get the linked table id from a Field?

I was looking at the Field docs and I couldn’t find anything.

I tried using the options property, but there is nothing in there.

Many thanks,

Gustavo

Best answer by Ronen_Babayoff

Hey Gustavo,

In the FieldType documentation, for the MULTIPLE_RECORD_LINKS field type you will see you have it in the options of the field, so to access it:

field.options.linkedTableId

I got it this way. If your field options are empty, maybe the field type is not MULTIPLE_RECORD_LINKS?

Cheers,
Ronen Babayoff
Superblocks.at

1 reply

Forum|alt.badge.img+14
  • Inspiring
  • 47 replies
  • Answer
  • June 6, 2020

Hey Gustavo,

In the FieldType documentation, for the MULTIPLE_RECORD_LINKS field type you will see you have it in the options of the field, so to access it:

field.options.linkedTableId

I got it this way. If your field options are empty, maybe the field type is not MULTIPLE_RECORD_LINKS?

Cheers,
Ronen Babayoff
Superblocks.at