# Problems with URL template

**URL:** <https://discuss.elastic.co/t/problems-with-url-template/28786>\
**Category:** Kibana\
**Created:** [September 7, 2015, 3:36pm UTC](https://discuss.elastic.co/t/problems-with-url-template/28786 "2015-09-07T15:36:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scaarup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scaarup/32/4615_2.png) [@scaarup](https://discuss.elastic.co/u/scaarup)\
**Post date:** [September 7, 2015, 3:36pm UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/1 "2015-09-07T15:36:23Z")

</div>

So I have a field called "transact" and with string type. I have applied URL formating with the following URL template:  
[http://company.net/profiles?user\_id={­{value}­](http://company.net/profiles?user_id=%7B%C2%AD%7Bvalue%7D%C2%AD)}. But when I expand data in "Discover", I can see a link to [http://company.net/profiles?user\_id={­{value}­](http://company.net/profiles?user_id=%7B%C2%AD%7Bvalue%7D%C2%AD)}. So {­{value}­} is never replaced with the actual value of the field. What's going on?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 7, 2015, 10:24pm UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/2 "2015-09-07T22:24:12Z")

</div>

Can you provide the code you have in the formatter?

---

<div class="post-metadata">

**Author:** ![scaarup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scaarup/32/4615_2.png) [@scaarup](https://discuss.elastic.co/u/scaarup)\
**Post date:** [September 8, 2015, 6:03am UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/3 "2015-09-08T06:03:19Z")

</div>

What do you mean by code?  
I have specified URL format, Type: link and URL template: "[http://company.net/profiles?user\_id={­{value}­](http://company.net/profiles?user_id=%7B%C2%AD%7Bvalue%7D%C2%AD)}"

---

<div class="post-metadata">

**Author:** ![Pieter\_Agenbag](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pieter_agenbag/32/4562_2.png) [@Pieter\_Agenbag](https://discuss.elastic.co/u/Pieter_Agenbag)\
**Post date:** [September 8, 2015, 10:25am UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/4 "2015-09-08T10:25:51Z")

</div>

I had something similar ... but unfortunately cant remember what exactly the problem was.

It was something simple , like I copied the {{value}} from the "Label Template" - which must have contained some "invisible" html characters as well.  
Just retype it by hand.

---

<div class="post-metadata">

**Author:** ![scaarup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scaarup/32/4615_2.png) [@scaarup](https://discuss.elastic.co/u/scaarup)\
**Post date:** [September 9, 2015, 11:43am UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/5 "2015-09-09T11:43:25Z")

</div>

Wow, that actually worked 🙂 Thanks alot.

---

<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:** [July 6, 2017, 2:13pm UTC](https://discuss.elastic.co/t/problems-with-url-template/28786/6 "2017-07-06T14:13:34Z")

</div>


