# Easy Chart Save Tag Pens

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-save-tag-pens/40372>\
**Category:** Ignition\
**Created:** [November 5, 2020, 8:41pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-tag-pens/40372 "2020-11-05T20:41:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaysonBaird](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@JaysonBaird](https://forum.inductiveautomation.com/u/JaysonBaird)\
**Post date:** [November 5, 2020, 8:41pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-tag-pens/40372/1 "2020-11-05T20:41:45Z")

</div>

How would I go about saving an easy chart tag pen dataset to a SQL table, then reading back the table but have the tag path be dynamic depending on which folder the values are in? The problem I run into is the tag pens will always be referencing different values based on which ones are dropped onto the chart and saved.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 5, 2020, 9:00pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-tag-pens/40372/2 "2020-11-05T21:00:09Z")

</div>

I would save the tag path with the dynamic part replaced with a key string like `%DeviceTagPath%` and `%DeviceName%`, then simply replace the key(s) with the dynamic value(s) when you pull it back out
