Related data doesn't show

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.


Failure Logs

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”:
},…

Hello @Adel_de_Clevermate,

Thanks for your message and welcome to our community! :raised_hands:

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.