# Am I going about this in the wrong way

**URL:** <https://forum.inductiveautomation.com/t/am-i-going-about-this-in-the-wrong-way/113906>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [February 11, 2026, 5:06pm UTC](https://forum.inductiveautomation.com/t/am-i-going-about-this-in-the-wrong-way/113906 "2026-02-11T17:06:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [February 11, 2026, 5:26pm UTC](https://forum.inductiveautomation.com/t/am-i-going-about-this-in-the-wrong-way/113906/3 "2026-02-11T17:26:59Z")

</div>

None of what you are attempting should require a script.

> [@joshua.edwards.navy](#):
>
> {[default]_AllenBradley_/Controller:Global/W{view.params.WellNumber}\_Well\_Pressure}

Create an array custom property on the view(make its access private). Each value in the array should be a dictionary with the members `tagPath` and `aggregationMode`. For each tag path, add the following expression: `"[default]AllenBradley/Controller:Global/W" + {view.params.WellNumber} + "_Well_NeededItemHere"`.  
Adjust `NeededItemHere` to be whatever tag you want from the well. Doing that should give you an array of objects that are accepted by a tag history binding.

From there, feed that array to the expression of a tag history binding on another custom property, and then bind that historical data to a time series chart. [Tag history](https://www.docs.inductiveautomation.com/docs/8.3/ignition-modules/perspective/working-with-perspective-components/bindings-in-perspective/tag-history-bindings-in-perspective) bindings have a poll rate that is configurable, so you could set it to 10s.

If you had the [Integration Toolkit](https://forum.inductiveautomation.com/t/automation-professionals-integration-toolkit-module/74934) module installed you could have 2 custom properties, `baseTagPath` and `requiredWellMembers`, and use those to create the array automatically with an expression of

```python
forEach(
   {view.custom.requiredWellMembers},
   asMap(
       "tagPath", {view.custom.baseTagPath} + {view.params.wellNumber} + it(),
       "aggregationMode", "MinMax"
   )
)

```

Additionally, your Ignition tag names should not be the same as your PLC tag path. Rename and organize them in a way that benefits your UI design. Use UDTs and/or folders to group accordingly, regardless of where the tags exist in the PLC.

---

_[View the full topic](https://forum.inductiveautomation.com/t/am-i-going-about-this-in-the-wrong-way/113906)._
