# Unique Component Identifier

**URL:** <https://forum.inductiveautomation.com/t/unique-component-identifier/32700>\
**Category:** Ignition\
**Created:** [February 28, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700 "2020-02-28T15:13:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hachjessed](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@hachjessed](https://forum.inductiveautomation.com/u/hachjessed)\
**Post date:** [February 28, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700/1 "2020-02-28T15:13:41Z")

</div>

Is there a unique value/identifier related to each component instance within a project or projects?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 28, 2020, 3:19pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700/2 "2020-02-28T15:19:28Z")

</div>

Are you asking for Vision or Perspective? Perspective technically has a unique path for each component, although that path can change depending on the structure of the View (adding/removing components), so it isn’t going to be the same for the life of your project. You are able to supply your own identifiers in a number of ways in Perspective. What are you trying to accomplish with this identifier?

---

<div class="post-metadata">

**Author:** ![hachjessed](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@hachjessed](https://forum.inductiveautomation.com/u/hachjessed)\
**Post date:** [February 28, 2020, 3:55pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700/3 "2020-02-28T15:55:01Z")

</div>

This would be for a Vision component. I am looking for an identifying ‘value’ from the component regardless of component Name, as it may not be unique. Wasn’t sure if there was such a value in any underlying component data? I would like to capture this unique value to assist in sorting data received from multiple Comment Panel components.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 28, 2020, 4:00pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700/4 "2020-02-28T16:00:57Z")

</div>

> [@hachjessed](#):
>
> regardless of component Name, as it may not be unique

Actually, it must be unique within any container. So the path of names from root container to component is unique. And there is nothing else you can rely on. Everything else within Vision passes the actual objects around--that's unique at the Java level, but only for the lifetime of the object.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [February 28, 2020, 6:09pm UTC](https://forum.inductiveautomation.com/t/unique-component-identifier/32700/5 "2020-02-28T18:09:30Z")

</div>

What exactly are you trying to do with it? There may be an easier way.
