# Display related table field instead of id

**URL:** <https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [February 6, 2023, 11:33am UTC](https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953 "2023-02-06T11:33:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![myflightconnect](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@myflightconnect](https://community.forestadmin.com/u/myflightconnect)\
**Post date:** [February 6, 2023, 11:33am UTC](https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953/1 "2023-02-06T11:33:19Z")

</div>

## Feature(s) impacted

Model Relationship modeling.

## Observed behavior

Hello,

I’m trying to understand how to configure the display of relationships.

I have a table “Invoice” with a relation to another table “Organization”. An Invoice item has a relation to an organization.

I have a belongsTo relationships between to two tables. And I see the id of the related items.

 ![Screenshot 2023-02-06 at 12.18.21](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f109e6e1ed70e858a2b1855dc2350b2f9e4f982f.png)

I want to display a specific field from the Organization table to have the name of the Organization in my Invoice collection.

 ![Screenshot 2023-02-06 at 12.18.39](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/8c432bedb916c94b13f0e0e760279356c06062ab.png)

## Expected behavior

Here, I want to display “Diego” instead of “95” in my Invoice collection for the field “Client”.

## Context

- Project name: MyFlightConnect
- Team name: MyFlightConnect
- Agent type: Postgres

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [February 6, 2023, 11:53am UTC](https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953/2 "2023-02-06T11:53:59Z")

</div>

Hello and welcome 🙂  
You can set “a reference field” to display a specific field instead of the id in your collection views.  
It’s really simple:  
Click on the button “edit layout”, navigate to your collection setting by clicking on the nut icon and click on the reference field input.  
A screenshot of a random app to illustrate my explanations.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/34d7539aae78d5fb4ea1b65c702ba7453c78e86f.png)  
I hope it will help you 🙏

---

<div class="post-metadata">

**Author:** ![myflightconnect](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@myflightconnect](https://community.forestadmin.com/u/myflightconnect)\
**Post date:** [February 6, 2023, 1:32pm UTC](https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953/3 "2023-02-06T13:32:56Z")

</div>

Perfect!  
Indeed it was simple.

The funny thing is I did see somewhere somebody talking about “Reference Field”. When I tried to look at it in the documentation, I got nothing.

 ![Screenshot 2023-02-06 at 14.28.46](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a5c0e5257c73d85564844deb7d0ea6096e08136b.jpeg)  
 ![Screenshot 2023-02-06 at 14.29.03](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/4a9a80f48eed2d33cbe6d31363a1a3b52680489a.jpeg)  
 ![Screenshot 2023-02-06 at 14.29.19](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/4e8dda98db1dc42eb6f241d0478b6af088728afa.png)

May this post help somebody through google 🙏

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [February 6, 2023, 2:24pm UTC](https://community.forestadmin.com/t/display-related-table-field-instead-of-id/5953/4 "2023-02-06T14:24:31Z")

</div>

🥳  
Yes it’s not documented, I will push it to the product board.  
Ty.
