system.tag.addTag() and default tag provider

Ah. Thak you. That worked.

you can specify the provider in the parent path. [myprovider]. If you leave this off it defaults to the default provider.

The tag provider that I’m using is called “Test” and the OPC device is called “My_test”.
I’ve tried both of the following items for the OPCItemPath


It seems no matter what I put in there I get the following error:

[code]Traceback (most recent call last):
File “event:actionPerformed”, line 1, in
File “module:shared.tagRename”, line 41, in myMain
File “module:shared.tagRename”, line 31, in buildTags

com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: Tag provider ‘default’ not found.
caused by GatewayException: Tag provider ‘default’ not found.
caused by IllegalArgumentException: Tag provider ‘default’ not found.

Ignition v7.7.1 (b2014092209)
Java: Oracle Corporation 1.8.0_31

you wouldnt use the tagprovider in the opc path, only the parent path.