Migration of existing dashboards from Cuba application

Hello,
I migrated a larger application from Cuba to Jmix 1.5. Of course I migrated all existing widget classes from Cuba too. But, how can I copy/convert/migrate existing dashboard definitions from Cuba application into Jmix application? Exporting and importing Json is not possible, because Json format has changed…

Thanks for your support!
Roland

Hello!

Unfortunately, there is no documentation about Dashboards migration. I’ve tried to create simple dashboard, export it to JSON and apply it in Jmix application. I had to change the following things in JSON in order to apply it in Jmix:

  1. packages from com.haulmont.addon.dashboard.xxx to io.jmix.dashboards
  2. frameId attribute to fragmentId

Probably, my case is very simple, so there is a chance that other attributes should be changed in JSON too. You could try to do the same changes. Otherwise you have to manually create dashboards in Jmix.

Thanks a lot, Roman!
I already corrected the package paths, but the renaming of frameId I did not see.
It seems to work (tested with 3 dashboards).

Best regards, Roland