# SDK - GatewayTagManager: read configured (not default) tag properties using getTagConfigsAsync

**URL:** <https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251>\
**Category:** Ignition Early Access\
**Created:** [March 12, 2019, 3:59pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251 "2019-03-12T15:59:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pocewar](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pocewar/32/8186_2.png) [@pocewar](https://forum.inductiveautomation.com/u/pocewar)\
**Post date:** [March 12, 2019, 3:59pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/1 "2019-03-12T15:59:38Z")

</div>

Hi,

we are developing a custom module and for a given tag we are trying to get its configured properties. We are using getTagConfigsAsync for that, getting a CompletableFuture so from it we get a TagConfigurationModel list and from that we get a list of properties. Problem with that is for a given property (for example, “engUnit”) available method is getDefaultValue(), which does not return configured/current value (in Tag Browser I assigned to a tag %RH in Engineering Units but getDefaultValue().toString() returns empty string). What should we do instead to get current/configured properties values?

Many thanks in advance.

Carlos

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 12, 2019, 4:40pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/2 "2019-03-12T16:40:33Z")

</div>

To get the actual value for any tag property you need to turn around and call `TagManager#readAsync` with a `TagPath` pointing to the property you’re interested in.

edit: you might also try calling `get(Property)` on the `TagConfigurationModel`… could be easier if the model actually has the value, but I’m not sure.

---

<div class="post-metadata">

**Author:** ![pocewar](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pocewar/32/8186_2.png) [@pocewar](https://forum.inductiveautomation.com/u/pocewar)\
**Post date:** [March 12, 2019, 5:49pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/3 "2019-03-12T17:49:55Z")

</div>

Thanks for your response. Question using readAsync: for a tag which tag path is, say, [default]dairy/fan, tag path pointing to its “engUnit” property would be [default]dairy/fan/engUnit ? By doing that I still receive empty value and not the configured value.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 12, 2019, 5:51pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/4 "2019-03-12T17:51:30Z")

</div>

> [@pocewar](#):
>
> [default]dairy/fan/engUnit

Path would be `[default]dairy/fan.engUnit`. You can use `PropertyAlteredTagPath` to construct it.

---

<div class="post-metadata">

**Author:** ![pocewar](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pocewar/32/8186_2.png) [@pocewar](https://forum.inductiveautomation.com/u/pocewar)\
**Post date:** [March 12, 2019, 6:02pm UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/5 "2019-03-12T18:02:14Z")

</div>

Many thanks… I used the other approach, that is, calling `get(Property)` on the `TagConfigurationModel` … it brought the configured value. Thanks!

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 16, 2019, 7:06am UTC](https://forum.inductiveautomation.com/t/sdk-gatewaytagmanager-read-configured-not-default-tag-properties-using-gettagconfigsasync/23251/6 "2019-05-16T07:06:23Z")

</div>

When a tag property (for example toolTip) is bound to a parameter (for example param1), **getBoundOrDefault(WellKnownTagProps.Tooltip)** return : {bindType=parameter, binding={param1}}  
**getOrDefault(WellKnownTagProps.Tooltip)** return : null  
**get(WellKnownTagProps.Tooltip)** return : null

I need to obtain the resulting value. Is it possible ?  
param1 value = “my param value”. I would like to get “my param value”

Did you found a solution for this case ?
