# Getting tag properties

**URL:** <https://forum.inductiveautomation.com/t/getting-tag-properties/8536>\
**Category:** Module Development\
**Created:** [June 8, 2014, 3:04pm UTC](https://forum.inductiveautomation.com/t/getting-tag-properties/8536 "2014-06-08T15:04:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [June 8, 2014, 3:04pm UTC](https://forum.inductiveautomation.com/t/getting-tag-properties/8536/1 "2014-06-08T15:04:52Z")

</div>

deleted as there was no response.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [June 15, 2014, 6:43am UTC](https://forum.inductiveautomation.com/t/getting-tag-properties/8536/2 "2014-06-15T06:43:34Z")

</div>

deleted as there was no response.

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [October 27, 2014, 2:06pm UTC](https://forum.inductiveautomation.com/t/getting-tag-properties/8536/3 "2014-10-27T14:06:07Z")

</div>

I would like to reopen this topic. I want to read the properties about tags. I tried suffixing the meta data field names (e.g. .format, .EnggHigh, EnggLow etc) to tagpaths and read them but results are not reliable e.g. I get format as #,##0.##, EnggUnits as blank, Type as Int4 even for float tags! Perhaps for uninitialized properties it returns some default values which may not be reliable.

But is my approach correct? For properly configured tags perhaps I may get correct results.

Would appreciate some clarifications.

Best Regards  
PRAMANJ

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [November 11, 2014, 4:59pm UTC](https://forum.inductiveautomation.com/t/getting-tag-properties/8536/4 "2014-11-11T16:59:24Z")

</div>

Continuing this topic, I have another doubt. When we write a list of tags using write method, what happens when one of the tagpath is invalid (but parsed through parseSafe method, which doesnot throw exception)? I have observed write method throws exception when a wrong type is assigned to the tag (e.g. float value is assigned to an Int tag!). So when we assign values to a list of tags then what happens when one of the values is of wrong type? Should we individually assign values to each tag and catch exception?

PRAMANJ
