# Show Tag name in vision client

**URL:** <https://forum.inductiveautomation.com/t/show-tag-name-in-vision-client/57886>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [March 31, 2022, 4:30pm UTC](https://forum.inductiveautomation.com/t/show-tag-name-in-vision-client/57886 "2022-03-31T16:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamshidzade](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jamshidzade/32/24927_2.png) [@jamshidzade](https://forum.inductiveautomation.com/u/jamshidzade)\
**Post date:** [March 31, 2022, 4:30pm UTC](https://forum.inductiveautomation.com/t/show-tag-name-in-vision-client/57886/1 "2022-03-31T16:30:27Z")

</div>

I created a report which is dynamically works

I would like to show the tag name in my report too

How can I show the tag name? how I can access the tag name in the script

---

<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:** [March 31, 2022, 4:47pm UTC](https://forum.inductiveautomation.com/t/show-tag-name-in-vision-client/57886/2 "2022-03-31T16:47:18Z")

</div>

You’ll have to pass it as a string parameter into the report. Then the report can work with it like any other data item.

---

<div class="post-metadata">

**Author:** ![leonardo.godoi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/leonardo.godoi/32/27178_2.png) [@leonardo.godoi](https://forum.inductiveautomation.com/u/leonardo.godoi)\
**Post date:** [March 31, 2022, 5:06pm UTC](https://forum.inductiveautomation.com/t/show-tag-name-in-vision-client/57886/3 "2022-03-31T17:06:35Z")

</div>

If you’re still using the tagAdress as the parameter that contains your tag, and your tag name is the last part of your string, you can add a script DataSource with this code in it:

```auto
data['tagName']= data['tagAddress'].split('/')[-1]

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e475417ccc070a72008b3dd81c8d76de9e6abf5.png)  
I couldn’t think of an easy way to do this via expression, but this should work at least.
