Embedding Visualization in Plugins

Hello Kibana/Plugin developers,

We are currently developing a plugin that requires us to embed a visualization in kibana version 6.2.2. I followed all the instructions stated in the official documentation and I kept getting Unknown provider: savedVisualizationsProvider <- savedVisualizations. Again I copied all the imports stated in the given link, most notably:

require('ui/autoload/all');
require('ui/routes').enable();
require('ui/chrome');

Any help would be appreciated.

Hey,

could you please paste your index.js from your plugin (which contains the uiExports)?

Cheers,
Tim