Use system.tag,queryTagHistory from a remote provider

Hi!

I have a remote provider and its working fine when using easy chart, but on this project I need to get the data from scripts and I can't make it work using system.tag.queryTagHistory([tagPath],startDate,endDate)
It works fine when the tag is on a local tag provider but i dont get any data when tags are from a remote provider, but as I said if I use easy chart I do see historcal data from the tag from the remote provider

Any tips???

1 Like

Use fully-qualified historical tagpaths. Documented here:

https://docs.inductiveautomation.com/display/DOC81/Export+Tag+Historian+to+CSV#ExportTagHistoriantoCSV-HistoryTagSearchandExport

{ Yeah, not many pointers to this from useful places in the documentation. }

4 Likes

thanks @pturmel !!!
This worked!!!!