# Related data doesn't show

**URL:** <https://community.forestadmin.com/t/related-data-doesnt-show/4966>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [July 13, 2022, 4:06pm UTC](https://community.forestadmin.com/t/related-data-doesnt-show/4966 "2022-07-13T16:06:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adel\_de\_Clevermate](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/adel_de_clevermate/32/4608_2.png) [@Adel\_de\_Clevermate](https://community.forestadmin.com/u/Adel_de_Clevermate)\
**Post date:** [July 13, 2022, 4:06pm UTC](https://community.forestadmin.com/t/related-data-doesnt-show/4966/1 "2022-07-13T16:06:10Z")

</div>

Hi,

I hope you can help me on this problem:

## Feature(s) impacted

> showing the related data for a collection

## Observed behavior

> We have a collection Prospects that is related to collection UserPrograms (one Prospect to many userPrograms), when we add a userProgram for a specific prospect. in the collection userProgram list: the userProgram is added correctly and is linked to the prospect id. but in the Prospect summary page, the related data table is not correctly updated.

## Expected behavior

> the related data table in Summary view of Prospect should have also the new raw of userProgram inserted to the prospect.

 ![Screen Shot 2022-07-13 at 17.01.27](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/83d8889a3cc0bbf1c7c24e3fb70146ed06643da9.png)  
 ![Screen Shot 2022-07-13 at 17.01.50](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/5/5314535e1f35ef15228db8a074a6ef9fabc7f49b.png)

## Failure Logs

 ![Screen Shot 2022-07-13 at 16.58.16](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/430d3d1c2e2a3fad432ec3e88233c50571ebc56a.png)

## Context

the .forestschema.json content:

Prospect collection fields:  
… {  
“field”: “ProspectUserPrograms”,  
“type”: [“Number”],  
“defaultValue”: null,  
“enums”: null,  
“integration”: null,  
“isFilterable”: true,  
“isPrimaryKey”: false,  
“isReadOnly”: false,  
“isRequired”: false,  
“isSortable”: true,  
“isVirtual”: false,  
“reference”: “cUserProgram.id”,  
“inverseOf”: “prospect”,  
“relationship”: “HasMany”,  
“validations”:   
},…

userProgram collection fields:  
..  
{  
“field”: “prospect”,  
“type”: “Number”,  
“defaultValue”: null,  
“enums”: null,  
“integration”: null,  
“isFilterable”: true,  
“isPrimaryKey”: false,  
“isReadOnly”: false,  
“isRequired”: false,  
“isSortable”: true,  
“isVirtual”: false,  
“reference”: “cProspect.cId”,  
“inverseOf”: “ProspectUserPrograms”,  
“relationship”: “BelongsTo”,  
“validations”:   
},…

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [July 18, 2022, 9:55am UTC](https://community.forestadmin.com/t/related-data-doesnt-show/4966/3 "2022-07-18T09:55:58Z")

</div>

Hello @Adel_de_Clevermate,

Thanks for your message and welcome to our community! 🙌

Do you have a bit more info about this error (in the browser network or in your admin backend logs)?  
Is it a 404 error? Is the `cProspect` has a hasMany relationship with a `ProspectUserPrograms`?

Could you share your 2 models?

Thanks.
