# Linking to another collection inside "Related Data"

**URL:** <https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666>\
**Category:** Help me!\
**Created:** [July 15, 2020, 2:03pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666 "2020-07-15T14:03:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Nash](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/george_nash/32/403_2.png) [@George\_Nash](https://community.forestadmin.com/u/George_Nash)\
**Post date:** [July 15, 2020, 2:03pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/1 "2020-07-15T14:03:06Z")

</div>

Hello,

Any help on the below would be greatly appreciated.

## Expected behavior

The structure inside a “Related Data” view is referencing the ObjectId (mongo db) of another collection, I’d expect the ID being displayed to be a link to the referenced document.

## Actual behavior

The structure inside a “Related Data” view is referencing the ObjectId (mongo db) of another collection, however the ID is being displayed as a plaintext string and not generating a link like it normally does.

Here is my schema with the ObjectID reference on the `sourceMapping` field.

```javascript
const schema = mongoose.Schema(
  {
    filename: String,
    s3_path: String,
    pipeline_files: [
      {
        bucket: {
          type: String,
          enum: [
            "emitwise-pipeline-data-production",
            "emitwise-pipeline-data-staging",
            "emitwise-pipeline-data-local",
          ],
        },
        key: String,
        source_mapping: { type: mongoose.Schema.Types.ObjectId, ref: 'sourceMapping' },
        _id: false,
      },
    ],
...
...

```

Here is the ID being displayed as plaintext and not clickable.

 ![Screenshot 2020-07-15 at 15.00.54](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/82e4a5cd9aec7e5855a2373ec4fa682427d38af5.png)

## Failure Logs

Please include any relevant log snippets, if necessary.

## Context

Please provide any relevant information about your setup.

- Package Version:
- Express Version:
- Sequelize Version:
- Database Dialect:
- Database Version:
- Project Name:

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 15, 2020, 3:29pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/2 "2020-07-15T15:29:05Z")

</div>

Hi @George_Nash, thanks for your input.

Today the feature to click to browse to a reference is missing.  
I am creating a feature request ticket in order to handle this.

---

<div class="post-metadata">

**Author:** ![George\_Nash](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/george_nash/32/403_2.png) [@George\_Nash](https://community.forestadmin.com/u/George_Nash)\
**Post date:** [July 15, 2020, 4:18pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/3 "2020-07-15T16:18:16Z")

</div>

[![](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/cb06091783a45905fefe9c48e4d0b67cfc9c4ca4.gif) ](https://media2.giphy.com/media/baurNboREPA2I/giphy.gif)

Thanks for that, can I track that feature request somewhere?

---

<div class="post-metadata">

**Author:** ![aayush-sinha](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/aayush-sinha/32/2803_2.png) [@aayush-sinha](https://community.forestadmin.com/u/aayush-sinha)\
**Post date:** [October 4, 2022, 11:26am UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/4 "2022-10-04T11:26:43Z")

</div>

Is this feature live yet? I was facing similar issue.

---

<div class="post-metadata">

**Author:** ![Florian\_Gonzales](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/florian_gonzales/32/5541_2.png) [@Florian\_Gonzales](https://community.forestadmin.com/u/Florian_Gonzales)\
**Post date:** [October 4, 2022, 1:23pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/5 "2022-10-04T13:23:41Z")

</div>

Hello @aayush-sinha ,

Unfortunately this feature is not yet live, it has not been prioritized yet. I just put it back in our future tasks.

Kinds regards,

Florian

---

<div class="post-metadata">

**Author:** ![aayush-sinha](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/aayush-sinha/32/2803_2.png) [@aayush-sinha](https://community.forestadmin.com/u/aayush-sinha)\
**Post date:** [October 4, 2022, 3:19pm UTC](https://community.forestadmin.com/t/linking-to-another-collection-inside-related-data/666/6 "2022-10-04T15:19:12Z")

</div>

Thanks for the update.
