# How to get Tag Properties

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 24, 2023, 4:05am UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316 "2023-11-24T04:05:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [November 24, 2023, 4:05am UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/1 "2023-11-24T04:05:24Z")

</div>

Hi,

Given the tag Paths as list.  
How we get collectively each tag's properties (e.g. formatString, dataType, engUnit, etc)?

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [November 24, 2023, 9:26am UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/2 "2023-11-24T09:26:14Z")

</div>

You can use the system.tag.getConfiguration().

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [November 24, 2023, 4:09pm UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/3 "2023-11-24T16:09:15Z")

</div>

Thanks.  
I tried using `system.tag.getConfigurations()`  
but only returned the following properties:

```auto
	tags = system.tag.getConfiguration(path, False)
	
	for tagDict in tags:
		for key, value in tagDict.iteritems():
			system.perspective.print(key)

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/489cd5607de486242821086acdf888858f5a2af2.png)

Where are the rest of properties such as (engUnit)?

---

<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:** [November 24, 2023, 5:06pm UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/4 "2023-11-24T17:06:12Z")

</div>

`getConfiguration` doesn't return properties that have their default values.

Consider making the tag report tool return all of the properties of interest.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [November 24, 2023, 9:53pm UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/5 "2023-11-24T21:53:06Z")

</div>

You can use a tag read as well. See Paul's example at the bottom of this topic for inspiration.

> [@Write Tag with Custom Property](https://forum.inductiveautomation.com/t/write-tag-with-custom-property/81998/4):
>
> Read separately. Technically, you could read path/to/tag.jsonValues and get a rich document you can extract the value and custom property nodes from in one call, but I wouldn't both if you just want two values.

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [November 25, 2023, 12:00am UTC](https://forum.inductiveautomation.com/t/how-to-get-tag-properties/82316/6 "2023-11-25T00:00:01Z")

</div>

FWIW, i tried reading path/to/Tag.jsonValues but returned nothing

```auto
	read = system.tag.readBlocking(['[default]Practice Alarming/Alarm Tag 1.jsonValues'])
	system.perspective.print(read)

```

output:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/12702fa6b32959858fdfd58db94f103543bf8d94.png)
