Linking to another collection inside "Related Data"

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.

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.

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:

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.

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

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

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

Thanks for the update.