# Document table and views customizations

**URL:** <https://discuss.elastic.co/t/document-table-and-views-customizations/122413>\
**Category:** Kibana\
**Created:** [March 4, 2018, 5:11pm UTC](https://discuss.elastic.co/t/document-table-and-views-customizations/122413 "2018-03-04T17:11:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.g](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@martin.g](https://discuss.elastic.co/u/martin.g)\
**Post date:** [March 4, 2018, 5:11pm UTC](https://discuss.elastic.co/t/document-table-and-views-customizations/122413/1 "2018-03-04T17:11:49Z")

</div>

Hi Kibana Team. As a first thing I would like to thank you for this great product.

I would like to ask you, if it is possible to add action buttons or links with my own JS function, to every displayed record in dashboard using saved search showing my elastic data. For example:

**Id Name Actions**

1 Peter [Open Facebook profile] [Open LinkedIn]

2 Martin [Open Facebook profile] [Open LinkedIn]

After action it should run my custom JS which for example open it to new window. Of course I have FB and LinkedIn links in my data.

My second question is if it is possible to customize view of document’s fields data, showing after clicking the Expand button |\> on the left of the document’s table entry. For exmaple change Table appearance or add my own view to Table and JSOM tabs.

I am newbie in Kibana, so sorry if it is dumb question. 🙂

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [March 4, 2018, 7:45pm UTC](https://discuss.elastic.co/t/document-table-and-views-customizations/122413/2 "2018-03-04T19:45:09Z")

</div>

Hey Martin, for security reasons we don't support executing javascript on fields. Field formatters are available visible to all users, and we don't want something malicious executing. You can use the url field formatter to provide a link.

The document and JSON views are not customizable unless you fork Kibana. Which is an option if you're interested, although it may make updating future versions difficult. You can add your own view as a plugin using the [`docViews`](https://www.elastic.co/guide/en/kibana/current/development-uiexports.html) type. [https://github.com/sw-jung/kibana\_markdown\_doc\_view](https://github.com/sw-jung/kibana_markdown_doc_view) is a community plugin that you may be able to use as a model. I haven't dug into it so use at your own risk but it looks along the same lines. We have plugin docs [https://www.elastic.co/guide/en/kibana/current/plugin-development.html](https://www.elastic.co/guide/en/kibana/current/plugin-development.html) and contributing docs at [https://github.com/elastic/kibana/tree/master/CONTRIBUTING.md](https://github.com/elastic/kibana/tree/master/CONTRIBUTING.md) if you want to look deeper.

---

<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:** [April 1, 2018, 7:45pm UTC](https://discuss.elastic.co/t/document-table-and-views-customizations/122413/3 "2018-04-01T19:45:19Z")

</div>

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