# \#related-data

**URL:** https://community.forestadmin.com/tag/related-data/19.md

[Latest](https://community.forestadmin.com/latest.md) · [Categories](https://community.forestadmin.com/categories.md) · [Tags](https://community.forestadmin.com/tags.md)

---

## [Can I create a reference in a replica data source to a different data source?](https://community.forestadmin.com/t/can-i-create-a-reference-in-a-replica-data-source-to-a-different-data-source/7689)

<div class="topic-metadata">

**Author:** [@richw-kai](https://community.forestadmin.com/u/richw-kai)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 9:10am UTC](https://community.forestadmin.com/t/can-i-create-a-reference-in-a-replica-data-source-to-a-different-data-source/7689 "2024-12-06T09:10:06Z")

</div>

Feature(s) impacted I have a replica datasource with a schema defined, and a Sequelize datasource operating too. I’m trying to create a reference between the replica datasource and Sequelize and can’t get the configurat…

---

## [Query on count of related entities](https://community.forestadmin.com/t/query-on-count-of-related-entities/7317)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 7\
**Last updated:** [November 21, 2024, 10:08am UTC](https://community.forestadmin.com/t/query-on-count-of-related-entities/7317 "2024-11-21T10:08:25Z")

</div>

Feature(s) impacted Querying using the Forest Admin Query Interface. (btw, you might want to add query-interface as a tag here?) Observed behavior N/A Expected behavior I would like to query users that were created to…

---

## [Migration to @forestadmin/agent - Display an array of references as related data](https://community.forestadmin.com/t/migration-to-forestadmin-agent-display-an-array-of-references-as-related-data/7501)

<div class="topic-metadata">

**Author:** [@fbeiger](https://community.forestadmin.com/u/fbeiger)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 3:12pm UTC](https://community.forestadmin.com/t/migration-to-forestadmin-agent-display-an-array-of-references-as-related-data/7501 "2024-10-08T15:12:50Z")

</div>

We are migrating to the latest node agent. We have a collection containing an array of references to another collection and want to display it as Related Data. In the previous agent this was not a problem because we wer…

---

## [belongsTo form with enum values](https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326)

<div class="topic-metadata">

**Author:** [@kll](https://community.forestadmin.com/u/kll)\
**Replies:** 5\
**Last updated:** [July 16, 2024, 1:07pm UTC](https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326 "2024-07-16T13:07:00Z")

</div>

Feature(s) impacted Editing a belongsTo field. Observed behavior Users belong to a company, and may belong to a department inside that company. Companies thus have multiple departments. Departments belong to a company. …

---

## [Accessing custom route for smart relationships](https://community.forestadmin.com/t/accessing-custom-route-for-smart-relationships/5819)

<div class="topic-metadata">

**Author:** [@Sehban\_Alam](https://community.forestadmin.com/u/Sehban_Alam)\
**Replies:** 13\
**Last updated:** [January 17, 2023, 3:14pm UTC](https://community.forestadmin.com/t/accessing-custom-route-for-smart-relationships/5819 "2023-01-17T15:14:42Z")

</div>

I am trying to create a route using RAW SQL for Smart-Relationships. As shown in the guide/documentation. The route written in this code, I need to access it. But the URL scheme on the forest admin dashboard is quite…

---

## [How can I create an hybrid embedded/referenced](https://community.forestadmin.com/t/how-can-i-create-an-hybrid-embedded-referenced/5764)

<div class="topic-metadata">

**Author:** [@Melis\_Tekin](https://community.forestadmin.com/u/Melis_Tekin)\
**Replies:** 3\
**Last updated:** [January 3, 2023, 8:05am UTC](https://community.forestadmin.com/t/how-can-i-create-an-hybrid-embedded-referenced/5764 "2023-01-03T08:05:35Z")

</div>

We know that embedded documents work better in MongoDB. I don’t want to lose the benefits of reference while taking advantage of this. For this, I want to apply both reference and embedded approaches together. For examp…

---

## [Pivot table update doesn't work](https://community.forestadmin.com/t/pivot-table-update-doesnt-work/5684)

<div class="topic-metadata">

**Author:** [@Reza\_Erami](https://community.forestadmin.com/u/Reza_Erami)\
**Replies:** 8\
**Last updated:** [December 14, 2022, 11:25am UTC](https://community.forestadmin.com/t/pivot-table-update-doesnt-work/5684 "2022-12-14T11:25:24Z")

</div>

Feature(s) impacted relation tables updated entity Observed behavior i have a table called giveawayTasks which is a pivot table between giveaways, and tasks tables this table has giveaway\_id, and task\_id to connect …

---

## [Loading related data with inital filter](https://community.forestadmin.com/t/loading-related-data-with-inital-filter/5623)

<div class="topic-metadata">

**Author:** [@RonenMeiri](https://community.forestadmin.com/u/RonenMeiri)\
**Replies:** 3\
**Last updated:** [December 1, 2022, 4:03pm UTC](https://community.forestadmin.com/t/loading-related-data-with-inital-filter/5623 "2022-12-01T16:03:15Z")

</div>

Feature(s) impacted I’ve created a smart collection which displayed as related data in another collection. I’ve also implemented the filter and search logic for this collection. My goal is to have several instance for …

---

## [hasMany Relationship in Related Data view is not displayed correctly](https://community.forestadmin.com/t/hasmany-relationship-in-related-data-view-is-not-displayed-correctly/5518)

<div class="topic-metadata">

**Author:** [@Mihai\_Chiciu](https://community.forestadmin.com/u/Mihai_Chiciu)\
**Replies:** 12\
**Last updated:** [November 28, 2022, 4:02pm UTC](https://community.forestadmin.com/t/hasmany-relationship-in-related-data-view-is-not-displayed-correctly/5518 "2022-11-28T16:02:45Z")

</div>

Feature(s) impacted I have a belongsTo relationship between 2 collections called Requests and Lawyers, where a Request belongs to a Lawyer. This is displayed in the Related Data section of the lawyers. On top of this I h…

---

## [Unable to create entity as "Related data" column has disappeared from creation form](https://community.forestadmin.com/t/unable-to-create-entity-as-related-data-column-has-disappeared-from-creation-form/5406)

<div class="topic-metadata">

**Author:** [@Scott\_Picquerey](https://community.forestadmin.com/u/Scott_Picquerey)\
**Replies:** 7\
**Last updated:** [October 21, 2022, 12:45pm UTC](https://community.forestadmin.com/t/unable-to-create-entity-as-related-data-column-has-disappeared-from-creation-form/5406 "2022-10-21T12:45:16Z")

</div>

Hello! Feature(s) impacted I have a collection called “trial” that has a relation with another collection “disease area”. When creating a new trial, I need to add at least one disease area (trial hasMany disease areas).…

---

## [Relationships are no longer displaying data](https://community.forestadmin.com/t/relationships-are-no-longer-displaying-data/5262)

<div class="topic-metadata">

**Author:** [@David\_Panzarella](https://community.forestadmin.com/u/David_Panzarella)\
**Replies:** 29\
**Last updated:** [October 11, 2022, 2:10pm UTC](https://community.forestadmin.com/t/relationships-are-no-longer-displaying-data/5262 "2022-10-11T14:10:57Z")

</div>

Observed behavior I can reproduce this locally and in production at the moment that no related data is showing, though I can verify all the data actually exists in the database. Expected behavior Should show related …
