# Creation of the JSON of a tag dynamically

**URL:** <https://forum.inductiveautomation.com/t/creation-of-the-json-of-a-tag-dynamically/105692>\
**Category:** Ignition\
**Created:** [April 29, 2025, 3:27pm UTC](https://forum.inductiveautomation.com/t/creation-of-the-json-of-a-tag-dynamically/105692 "2025-04-29T15:27:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zied\_Brahmi](https://avatars.discourse-cdn.com/v4/letter/z/5daacb/32.png) [@Zied\_Brahmi](https://forum.inductiveautomation.com/u/Zied_Brahmi)\
**Post date:** [April 29, 2025, 3:27pm UTC](https://forum.inductiveautomation.com/t/creation-of-the-json-of-a-tag-dynamically/105692/1 "2025-04-29T15:27:22Z")

</div>

Hey Forum,

This is my usecase, I want to dynamically create a json and feed it to system.tag.configure(..) afterward.

For example, I need to have a UI that will step one, get the tag type (memory, opc ..) that the user need to add. After that dynamically with the help of ignition, I need to get all "Possible" inputs for a specific tag type in order to propose that to the user.

Is this feasible? 🙂

---

<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:** [April 29, 2025, 3:49pm UTC](https://forum.inductiveautomation.com/t/creation-of-the-json-of-a-tag-dynamically/105692/2 "2025-04-29T15:49:53Z")

</div>

> [@Zied\_Brahmi](#):
>
> dynamically create a json and feed it to system.tag.configure

It doesn't take json. It takes lists of dictionaries, with possible nested dictionaries.

> [@Zied\_Brahmi](#):
>
> Is this feasible?

Yes, using [ConfigurationPropertyModel.getApplicableProperties()](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.47/com/inductiveautomation/ignition/common/config/ConfigurationPropertyModel.html#getApplicableProperties(com.inductiveautomation.ignition.common.config.PropertySet)), after retrieving the tag provider's model from the tag provider, which you would get from the gateway context. (The easiest way to get that latter is via `system.util.toolkitCtx()` in my Integration Toolkit.)

There's some sample code in the `providers` script in my Tag Report Utility exchange project that you might find helpful.
