Browse tags printing folder

The console log is not the same as the wrapper log.

Here is a small example of using a logger.

This:

if tag.dataType == Int4:

Doesn't do what you think it does. Int4 is a type, tag.dataType returns a string value returns a com.inductiveautomation.ignition.common.sqltags.model.types.DataType. The two can never be equivalent.

if tag.dataType == 'Int4':
    #do something
elif tag.dataType == 'String':
   #do something else
I would also use 0 for the default value for Integers. Also, instead of calling writeAll twice, combine the lists first and then call writeAll ``` paths = intPaths + stringPaths values = resetInt + resetStr system.tag.writeAll(paths,values) ```

Edit: See @PGriffith's code below