Show Tag name in vision client

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

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.

1 Like

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:

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


I couldn’t think of an easy way to do this via expression, but this should work at least.

2 Likes