# How to use UI Exports hacks option in Kibana 6.1

**URL:** <https://discuss.elastic.co/t/how-to-use-ui-exports-hacks-option-in-kibana-6-1/118389>\
**Category:** Kibana\
**Created:** [February 5, 2018, 6:29am UTC](https://discuss.elastic.co/t/how-to-use-ui-exports-hacks-option-in-kibana-6-1/118389 "2018-02-05T06:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shahrukh\_khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahrukh_khan/32/27358_2.png) [@Shahrukh\_khan](https://discuss.elastic.co/u/Shahrukh_khan)\
**Post date:** [February 5, 2018, 6:29am UTC](https://discuss.elastic.co/t/how-to-use-ui-exports-hacks-option-in-kibana-6-1/118389/1 "2018-02-05T06:29:16Z")

</div>

Following is my index.js and when I use hacks all the tabs on sidebar show blank white screen. Please help!

```
   export default function (kibana) {

      return new kibana.Plugin({
        uiExports: {
          app: {
            title: 'webinar_app',
            description: 'webinar_app demo',
            main: 'plugins/webinar_app/webinar_app',
            uses: [
              'visTypes',
              'visResponseHandlers',
              'visRequestHandlers',
              'visEditorTypes',
              'savedObjectTypes',
              'spyModes',
              'fieldFormats',
            ],
            injectVars: (server) => {
              return server.plugins.kibana.injectVars(server);
            }
          },
          hacks: [
            'plugins/webinar_app/webinar_app'
          ]
        }
      });
    }
```

---

<div class="post-metadata">

**Author:** ![Shahrukh\_khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahrukh_khan/32/27358_2.png) [@Shahrukh\_khan](https://discuss.elastic.co/u/Shahrukh_khan)\
**Post date:** [February 5, 2018, 8:31am UTC](https://discuss.elastic.co/t/how-to-use-ui-exports-hacks-option-in-kibana-6-1/118389/2 "2018-02-05T08:31:34Z")

</div>

I just figured it out, there was a conflict going on that prevented my app to run successfully!

---

<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:** [March 5, 2018, 8:31am UTC](https://discuss.elastic.co/t/how-to-use-ui-exports-hacks-option-in-kibana-6-1/118389/3 "2018-03-05T08:31:48Z")

</div>

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