# Kibana plugin 6.0 to 5.6.4

**URL:** <https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535>\
**Category:** Kibana\
**Created:** [November 14, 2017, 10:59am UTC](https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535 "2017-11-14T10:59:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 14, 2017, 10:59am UTC](https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535/1 "2017-11-14T10:59:35Z")

</div>

Hi,

I create a simple plugin on kibana 6.0rc2 from webinar\_visualization.  
My problem is that I must create the same plugin but on kibana 5.6.4.

I saw that the import is changed so I create as 5.6.4 document and the visualization it look the same as I develop in 6.0.

In 6.0 I have class VisController that render and I also have in this function addEventListener('click'  
that I can able to some action when I click on the value.

My problem is that in 5.6.4 I'm not able to start VisController  
In 6.0 I just add the following:  
import { VisController } from './vis\_controller';

return VisFactory.createBaseVisualization({  
name: 'webinar\_visualization',  
title: 'Webinar Vis',  
icon: 'fa fa-gear',  
description: 'webinar\_visualization test',  
category: CATEGORY.OTHER,  
visualization: VisController,  
visConfig: {  
defaults: {  
// add default parameters  
fontSize: 20  
},  
},

I can't find how to call VisController in 5.6.4  
to create the Visualization I do the following:  
return new TemplateVisType({  
name: 'webinar\_visualization',  
title: 'Webinar Vis',  
image,  
...

But I can't found how to call and start VisController.

Please advice how can I convert webinar\_visualization from 6.0 to 5.6.4?

The plugin is simple:  
Show some key on the screen and when I press on it do some action

Thanks in advance

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [November 14, 2017, 8:49pm UTC](https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535/2 "2017-11-14T20:49:44Z")

</div>

Sorry @wkpv68, but the visualization architecture changed a lot in 6.0 so there is no concept of `VisController` in 5.6. Is it possible to upgrade to 6.0, which was just released today?

---

<div class="post-metadata">

**Author:** ![wkpv68](https://avatars.discourse-cdn.com/v4/letter/w/73ab20/32.png) [@wkpv68](https://discuss.elastic.co/u/wkpv68)\
**Post date:** [November 15, 2017, 1:07am UTC](https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535/3 "2017-11-15T01:07:28Z")

</div>

Thanks, I'll upgrade to 6.0

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 13, 2017, 1:07am UTC](https://discuss.elastic.co/t/kibana-plugin-6-0-to-5-6-4/107535/4 "2017-12-13T01:07:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
