When the mongodb charts API will be available?

As per this dicussion: Charts API, progrmamatically create and update charts and chart views

We really need a mongodb charts API to create default dashboards and charts, for each costumer that hire our platform. It would reaaaaly be a very welcome addition that would definitely benefit all MongoDb charts users.

1 Like

Hi @Ciro_Nola,

Apologies for the delay in getting this feature out. We still have it in our roadmap and we plan to work on it next year. Unfortunately, we had to prioritise a major architecture of our platform, which will continue until late this year.

If you don’t mind, can you tell me a bit more about your use case?
Will all your customers have a default dashboard that comes from a standard template? Do you see your customers adding new charts/dashboards directly from the platform?

Hello Guys, how are you? Sorry for the delay in the response.

Will all your customers have a default dashboard that comes from a standard template? In a nutshell yes, basically, when I setup a new customer, we create a new MongoDb database for him AND we would like to setup specific default dashboards for the newly created account.

If only, there was an API to copy dashboards and then change the datasource, that would solve my problem.

Of course that more elaborated APIs later would further improve our usage.

Hi @Ciro_Nola,

Thanks for the follow-up. The architecture restructure project has had delays, but we hope to complete it by the end of this year. Exporting/Importing of dashboards will be the very first API that we will build.
Appreciate your patience.

Any new update on this? We decided on charts over power bi because we can embed query parameters in the token when embedding. One rather large issue we are running into is that when we import the charts the dashboardid and chartid change. There is no way to “update” existing chart from import. This means that we have to track chart id’s and dashbaord id’s per environment and also update them on the fly whenver we have to import the update dashboards in our production environment. Unfortunately this means customer will experience down time as we manually update chart id’s and dashboard id’s Example of the types of conversations I am having with my developers.

Have you tried exporting the dashboard as a .charts file. Then edit the JSON to update the datasources before importing the dashboard again? We do then when deploying client facing embedded charts to all our environments (dev, qa, prod, etc).

(post deleted by author)

Hey Matt, how are you? Thx for the tip!

Well, it is better then nothing. Either way, we would have to create the datasources for each customer manually, then we could have a model .charts file and just update it with the new DataSources references and upload it.

As I said, better then nothing, but still lacking an API to do it programmatically.