# Please add ids to perspective components for writing tests

**URL:** <https://forum.inductiveautomation.com/t/please-add-ids-to-perspective-components-for-writing-tests/46949>\
**Category:** Ignition\
**Created:** [May 20, 2021, 5:54pm UTC](https://forum.inductiveautomation.com/t/please-add-ids-to-perspective-components-for-writing-tests/46949 "2021-05-20T17:54:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [May 20, 2021, 6:46pm UTC](https://forum.inductiveautomation.com/t/please-add-ids-to-perspective-components-for-writing-tests/46949/2 "2021-05-20T18:46:40Z")

</div>

This feature has existed since the initial release of Perspective but hasn’t been widely publicized. In newer versions of 8.1 it is a little bit easier to find.

Within the META area of a component property editor, adding a `domId` Property with a value of the ID you want to add will allow you to set whatever ID you wish.

 ![domId](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/b/ab36a4a48c236308486c0ebd7122a58682af18c4.png)

Garth

---

_[View the full topic](https://forum.inductiveautomation.com/t/please-add-ids-to-perspective-components-for-writing-tests/46949)._
