# Display device name on an input controls block

**URL:** <https://forums.losant.com/t/display-device-name-on-an-input-controls-block/1592>\
**Category:** Feature Request\
**Tags:** dashboard\
**Created:** [March 6, 2019, 3:47pm UTC](https://forums.losant.com/t/display-device-name-on-an-input-controls-block/1592 "2019-03-06T15:47:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Felix\_Ontanon\_Carm](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/j_felix_ontanon_carm/32/756_2.png) [@J\_Felix\_Ontanon\_Carm](https://forums.losant.com/u/J_Felix_Ontanon_Carm)\
**Post date:** [March 6, 2019, 3:47pm UTC](https://forums.losant.com/t/display-device-name-on-an-input-controls-block/1592/1 "2019-03-06T15:47:13Z")

</div>

Hello.

I wanted to display my device’s name in an input controls block with a text input but with dynamic values I can only choose from attributes of the device. I was wondering if there’s some other way of displaying it in a text input that I didn’t manage to find in the documentation nor in the forum.

---

<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:** [March 6, 2019, 4:05pm UTC](https://forums.losant.com/t/display-device-name-on-an-input-controls-block/1592/2 "2019-03-06T16:05:02Z")

</div>

Hello,

Currently, device name is not supported by Context Variables, but depending on your use case, you could use context strings. You could set your device name to a string context variable and then reference it in label or value of the input block.

I will send a feature request over to our developers to support device name in the future!

Thanks,  
Julia

---

<div class="post-metadata">

**Author:** ![Tim\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@Tim\_Hoffman](https://forums.losant.com/u/Tim_Hoffman)\
**Post date:** [March 6, 2019, 11:33pm UTC](https://forums.losant.com/t/display-device-name-on-an-input-controls-block/1592/3 "2019-03-06T23:33:44Z")

</div>

I have run into this more than a few times, and would really like to have deviceId and deviceName available to the input controls blocks.
