I was doing some hackish things with a history DB, and landed in a situation where I could no longer see the history for one specific tag using system.tag.queryTagHistory
. Just to make sure I wasn't fumbling a parameter, I tried a history binding in Perspective for the same tag and it worked.
Then I noticed that the designer UI had built the tag path in a form I've never seen documented. I tried that path with queryTagHistory
and it got data.
I was using a more simple:
my_hist = system.tag.queryTagHistory(['[default]some_folder/foo'])
And the designer UI came up with this tag path:
my_hist = system.tag.queryTagHistory(['[db_name/gateway_name:default]some_folder/foo'])
I get why this longer form could be necessary and even why I needed it in my case. I'm just here to complain that I've never seen this form of tag path documented anywhere. The manual page for queryTagHistory doesn't mention it, nor does the manual page it links to specifically about tag paths. It's also not like the special history paths mentioned in the historian docs.
Is this format somewhere else in the manual? Should it be? Is it "safe" to use or likely to break in a future update?