I’m trying to get custom reports with a custom source adapter working, the final goal is to query data from another db. As my final result is close to what the Sql adapter does, I used it as a starting point.
What I did:
Copied sql.js from /web/bundles/pimcoreadmin/js/pimcore/report/custom/definitions
Renamed it to zyxcmr.js
Edited the following lines:
Edited my XyzBundle.php in /src/XyzBundle
Which get me so far:
Added to my services.yml in XyzBundle\Recources\config
- Copied Sql.php from vendor\pimcore\pimcore\models\Tool\CustomReport\Adapter
Renamed Sql.php to Zyxcmr.php
Edited it to:
I believe I covered all the steps, but when I run a simple report like Select * From object_12, I get:
Could not find Custom Report Adapter with type zyxcmr
Any hint or help is super highly appreciated.