Hi,
On calling an api, I am expecting to see the Field Display instead of the unique ID, after checking the field in the API Setup. However I getting the unique ID and can’t seem to understand where I have gone wrong.
The related Field is set to display the corp_number:
![image](https://us1.discourse-cdn.com/bubble/original/3X/0/d/0de0722a5143af1b69b99ad8d067bc0e651b8e18.png)
The api settings seem to be correct as per documentation:
![image](https://us1.discourse-cdn.com/bubble/original/3X/8/5/851f1f1c2c050e55e1d5946916efa61bc503378a.png)
However the API return gives me the unique product key instead of the corp num (320):
![image](https://us1.discourse-cdn.com/bubble/original/3X/2/8/28d8d7db9c9ec4d2166c86e7393071daff8a463c.png)
Any ideas as to what I am doing wrong.
Thank you for your time.
Graham
I guess you’re calling the client table (or maybe another table) and then the records in that table are linking through to the corp_client
table and the product
table?
The ‘Use field display instead of ID for key names’ is only referencing the field names for the table that you’re calling. It doesn’t do anything to address the contents of the fields themselves.
If any of your records in that table are linking through to other tables you’re only going to get the uniqueID returned. So you’d need to similarly make calls to those tables to join the dots.
The reason for this is that the linked tables probably have a bunch of their own fields, so it wouldn’t know which one to return - even though for you it’s probably obvious that its name or something like that.
Josh @ Support Dept
Helping no-code founders get unstuck fast
save hours, & ship faster with an expert
on-demand
I post daily about no-code and Bubble on Twitter ![Follow Support Dept on Twitter](https://us1.discourse-cdn.com/bubble/original/3X/1/8/1873f49286561817ba05167fa92d9e54f81b7f67.png)
Ok that makes sense and I can now move forward. Thank you so much for your assistance.
1 Like