Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

How to get linked field table id?

Topic Labels: Custom Extensions
Solved
Jump to Solution
561 1
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 Solution

Accepted Solutions

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

See Solution in Thread

1 Reply 1

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