# Field Formatter registration Kibana 7.6.2

**URL:** https://discuss.elastic.co/t/field-formatter-registration-kibana-7-6-2/228544
**Category:** Kibana
**Created:** [April 17, 2020, 4:10pm UTC](https://discuss.elastic.co/t/field-formatter-registration-kibana-7-6-2/228544 "2020-04-17T16:10:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Paul\_Gege](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_gege/32/45595_2.png) [@Paul\_Gege](https://discuss.elastic.co/u/Paul_Gege)
#### Post date: [April 17, 2020, 4:10pm UTC](https://discuss.elastic.co/t/field-formatter-registration-kibana-7-6-2/228544/1 "2020-04-17T16:10:40Z")

</div>

Hi, I attempted to register my plugin using this:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aafd6a6ccc55d90c1362fcc47dc87868bd9b7530.png)

Here is how I used it:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12a60908d234a6d3f44a3b3b5519952791b699f4.png)

But I get this error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/7/672422411a225fd379d0867e03a8bd5dae054642.png)

I changed the code to this (passing an array with my field formatter):  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1cc64ca274d02137d4ce4b352830e406c11e6d6f.png)

However the page to edit field types comes up blank on kibana

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1cae9b1112807b0b0e62b53611992022ce495bbb.png)

Can someone provide some insight as to what I can do to register my field formatter plugin?

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [April 22, 2020, 2:07am UTC](https://discuss.elastic.co/t/field-formatter-registration-kibana-7-6-2/228544/2 "2020-04-22T02:07:39Z")

</div>

I believe this was already resolved via another support channel but I think

```auto
npSetup.plugins.data.fieldFormats.register([DictionaryLookupProrvider]);

```

is correct and the next line needs to be

```auto
npSetup.plugins.data.fieldFormats.getType("DictionaryLookup");

```

---

<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: [May 20, 2020, 2:07am UTC](https://discuss.elastic.co/t/field-formatter-registration-kibana-7-6-2/228544/3 "2020-05-20T02:07:52Z")

</div>

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