RevealBi / Reveal.Sdk

Issue tracker - Reveal SDK https://www.revealbi.io/
https://www.revealbi.io/
3 stars 0 forks source link

API to modify the dashboard files in Java #26

Open dwilches opened 1 year ago

dwilches commented 1 year ago

Is your feature request related to a problem? Please describe.

There are some cases where we've wanted to edit the dashboards programmatically.

The most recent one was we wanted to replace an old data source by another, but all customer dashboards were already using the old data source's url. So we couldn't do it (would have to edit tens of dashboards through the UI).

But also this would give us more possibility for workarounds like those of issues #19 and #25: we could edit the dashboard before asking the server-side export API to generate the PDF.

Describe the solution you'd like An API to load and edit the rdash files. Similarly to the JavaScript API that let's us pass an rdash (loadDashboardFromContainer) and we get back a RVDashboard where we can invoke methods.

Describe alternatives you've considered I discarded doing it myself as the rdash format is not documented, so even though I think nothing would break if I change one or two things, there is no guarantee.

gauxgaux commented 1 year ago

+1 to that ^^