KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Getting issue with meta for relations table #2521

Open Anjali opened this topic on on Jan 5, 2022 - 2 comments

Anjali commented on Jan 5, 2022
visualquery.js:178 Uncaught TypeError: Cannot read properties of undefined (reading '{meta}')
    at VisualQuery.KoolReport.VisualQuery.KoolReport.VisualQuery.vq.addTableAndFields (visualquery.js:178)
    at VisualQuery.KoolReport.VisualQuery.KoolReport.VisualQuery.vq.addTableClicked (visualquery.js:248)
    at HTMLButtonElement.onclick (querybuilder:364)

My schema: this is a table i geting dynamic:

array:4 [▼
  "users" => array:4 [▼
    "name" => array:2 [▶]
    "email" => array:2 [▶]
    "procure_id" => array:2 [▶]
  "{meta}" => array:1 [▼
      "alias" => "User Table"
    ]
  ]
  "procuring_entity" => array:3 [▶]
]

I am defining meta here still it throws meta error. PLease guide.

Sebastian Morales commented on Jan 6, 2022

Pls set "{meta}" for all of your tables in your defined schemas and see how it goes. Rgds,

Anjali commented on Jan 6, 2022

Yes, it works

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

VisualQuery