Create Empty Tag Folder

Is there a scripting function I can use to create an empty tag folder?

system.tag.addTag(parentPath = '', name = "Folder" , tagType = "Folder" )

Right from the docs.
https://docs.inductiveautomation.com/display/DOC79/system.tag.addTag

I am on Ignition 8 and that function is no longer in the documentation. They want us to use system.tag.configure, but now that I have the example you posted I should be able to try those parameters for the new function as there is no example for making a folder in the new documentation.

Thanks

This does work with the new system.tag.configure function.

tagPath = "[myTagProvider]someFolder"

tag = {
			"name": "myNewFolderName",
			"tagType": "Folder"
		}
		
		
system.tag.configure(tagPath, [tag], collisionPolicy="m")
1 Like