# getTagConfigsAsync and system.tag.getConfiguration

**URL:** <https://forum.inductiveautomation.com/t/gettagconfigsasync-and-system-tag-getconfiguration/95791>\
**Category:** Module Development\
**Tags:** perspective, ignition81\
**Created:** [September 10, 2024, 12:40pm UTC](https://forum.inductiveautomation.com/t/gettagconfigsasync-and-system-tag-getconfiguration/95791 "2024-09-10T12:40:37Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [September 10, 2024, 12:40pm UTC](https://forum.inductiveautomation.com/t/gettagconfigsasync-and-system-tag-getconfiguration/95791/1 "2024-09-10T12:40:37Z")

</div>

I would like to convert the result of:

```python
gatewayContext.getTagManager().getTagProvider(provider).getTagConfigsAsync()

```

to obtain the same one that the result of the following script function:

```python
system.tag.getConfiguration

```

Is there some king of public Utilities functions to do that in the SDK ?

---

<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:** [September 10, 2024, 12:46pm UTC](https://forum.inductiveautomation.com/t/gettagconfigsasync-and-system-tag-getconfiguration/95791/2 "2024-09-10T12:46:00Z")

</div>

It's not public, but it's basically just this:

```python
    private PyDictionary processChildModels(TagConfigurationModel editModel) {
        PyTagDictionary.Builder builder = new Builder();
        PyDictionary dict = builder
            .setTagPath(editModel.getPath())
            .setTagType(editModel.getType()).build(editModel);

        PyTagList tagsList = new PyTagList();
        for (TagConfigurationModel childModel : editModel.getChildren()) {
            tagsList.add(processChildModels(childModel));
        }
        if (!tagsList.isEmpty()) {
            dict.put("tags", tagsList);
        }

        return dict;
    }

```

unless you're working with scripting you probably don't want all these Py types.

---

<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:** [September 10, 2024, 12:49pm UTC](https://forum.inductiveautomation.com/t/gettagconfigsasync-and-system-tag-getconfiguration/95791/3 "2024-09-10T12:49:11Z")

</div>

Thanks a lot ! Exactly what I need 🤩
