# Reading OPC Item Path of a Tag

**URL:** <https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188>\
**Category:** Ignition\
**Created:** [August 27, 2024, 6:46am UTC](https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188 "2024-08-27T06:46:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anamay\_Belekar](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Anamay\_Belekar](https://forum.inductiveautomation.com/u/Anamay_Belekar)\
**Post date:** [August 27, 2024, 6:46am UTC](https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188/1 "2024-08-27T06:46:45Z")

</div>

I want to read OPC Item Path of a tag (using python script) to edit it and update it using system.tag.configure. Is there any way to read the OPC Item Path of an OPC tag?

---

<div class="post-metadata">

**Author:** ![amy.sudibyo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amy.sudibyo/32/38659_2.png) [@amy.sudibyo](https://forum.inductiveautomation.com/u/amy.sudibyo)\
**Post date:** [August 27, 2024, 7:10am UTC](https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188/2 "2024-08-27T07:10:33Z")

</div>

You can use `system.tag.getConfiguration` to return the [tag properties](https://docs.inductiveautomation.com/docs/8.1/platform/tags/tag-properties) including OPC item path.

---

<div class="post-metadata">

**Author:** ![Anamay\_Belekar](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Anamay\_Belekar](https://forum.inductiveautomation.com/u/Anamay_Belekar)\
**Post date:** [August 27, 2024, 7:24am UTC](https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188/3 "2024-08-27T07:24:12Z")

</div>

That's a great help!

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [August 27, 2024, 12:42pm UTC](https://forum.inductiveautomation.com/t/reading-opc-item-path-of-a-tag/95188/4 "2024-08-27T12:42:57Z")

</div>

You can also just directly read the OpcItemPath as a tag

> system.tag.readBlocking("[default]Path/To/The/Tag.OpcItemPath")
