# Link within custom html block

**URL:** <https://forums.losant.com/t/link-within-custom-html-block/2826>\
**Category:** Help\
**Tags:** dashboard\
**Created:** [April 14, 2020, 8:09pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826 "2020-04-14T20:09:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [April 14, 2020, 8:09pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/1 "2020-04-14T20:09:43Z")

</div>

I have a dashboard where a custom html block shows data in a table.  
One of the columns contain a URL link.  
I have tried different targets for the link like \_top and \_parent but can only get it to open if I right click and open in a new Tab.

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [April 14, 2020, 9:58pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/3 "2020-04-14T21:58:59Z")

</div>

Hi @Lars_Andersson,

I have opened a ticket with our engineering team to add the pop-ups permission for this block. I will reach out when this request has been implemented.

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [April 17, 2020, 9:04pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/5 "2020-04-17T21:04:46Z")

</div>

Do you know if this could be a long wait?  
I’m hoping to get the project I’m using this in done early next week.

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [April 17, 2020, 9:30pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/8 "2020-04-17T21:30:43Z")

</div>

@Lars_Andersson,

Sorry! We try not to promise exact dates in order to stay honest with you. However, this is in the next release which will be out within a few weeks.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [April 30, 2020, 11:10pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/9 "2020-04-30T23:10:15Z")

</div>

so is this fixed now?

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [May 1, 2020, 2:07pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/11 "2020-05-01T14:07:17Z")

</div>

Hi @Lars_Andersson,

That is correct; this was fixed with our [latest Platform Update](https://www.losant.com/blog/platform-update-blob-attributes-time-at-value-aggregation-mqtt-broker-at-the-edge).

Thanks again for your patience and suggestions!  
Julia

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [May 1, 2020, 2:18pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/13 "2020-05-01T14:18:27Z")

</div>

ok, any info on that ?, because I can’t seem to get it to work still.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [May 4, 2020, 7:16pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/16 "2020-05-04T19:16:20Z")

</div>

any updates on this?

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [May 4, 2020, 7:17pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/19 "2020-05-04T19:17:58Z")

</div>

Hey @Lars_Andersson,

Good day. As Julia mentioned, this was fixed within the last release. If you’re still having issues, please provide more detail.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [May 4, 2020, 7:26pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/20 "2020-05-04T19:26:13Z")

</div>

I have a link specified as follows in one of those blocks, but when clicking it, nothing happens.

` <td><a href='/history?device=${row.deviceId}&t=${row.starttime}' target='_parent'>${row.start}</a></td>`

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [May 4, 2020, 7:32pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/22 "2020-05-04T19:32:19Z")

</div>

@Lars_Andersson,

While using the Chrome browser, when you click the link, do you get any errors within [Chrome Dev Tools Console](https://developers.google.com/web/tools/chrome-devtools/console)?

If so, please include screenshots.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [May 4, 2020, 7:38pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/23 "2020-05-04T19:38:34Z")

</div>

Good idea.  
I noticed this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/457d32129153a85b70cb30de42f4de7fc6215315.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [May 4, 2020, 10:34pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/24 "2020-05-04T22:34:49Z")

</div>

Hey Lars,

With this update, only `_blank` is supported. Allowing top-level navigation using `_parent` and `_top` provide a way to create malicious dashboards that we cannot allow.

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [May 4, 2020, 10:52pm UTC](https://forums.losant.com/t/link-within-custom-html-block/2826/25 "2020-05-04T22:52:21Z")

</div>

ok, understood.  
That works.
