Is system.tag.getTagValue() still a thing?

Been looking over some of the stuff I’ve written over the past 8+ years, and for the past few, I’ve been using some variant of system.tag.read() over system.tag.getTagValue(). While getTagValue() still works, should I consider it deprecated and udpate my old code accordingly?

Yes, it’s deprecated.

It probably won’t stop working for the sake of backwards compatibility, but updating your code is probably still a good idea.

I figured as much. Luckily, I don’t have gobs of changes to wade through.

Thanks, Kevin!

I always feel bad about resurrecting ancient threads :confused:

Thoughts about adding getTagValue and writeToTag to the deprecated list?

They're still used as examples in current (7.8-8.1) docs btw

1 Like

Huh, didn't even know there was a deprecated list.

Paging @Paul.Scott, documentation liaison.

2 Likes

Added pages for the two deprecated functions in the deprecated section. Will update the examples on those pages accordingly, thanks for pointing those out!

2 Likes