Potential bug… or as designed?
Writing a script that needs to pull a couple of datatype custom parameters.
oTagConfig = system.tag.getConfiguration(sElementPath)
iArrayIndex = oTagConfig[0]['parameters']['ArrayIndex']
sElementType = oTagConfig[0]['parameters']['ElementTag']
sOPCServer = oTagConfig[0]['parameters']['IPC']
This will fail if the custom parameters have their default value in them. If I remove the default value from the datatype and input it manually for each instance of that datatype, it works fine.