Question
Error: Unable To Convert From java.lang.String to INTEGER
Hello all,
When I try to create "INTEGER" property using extension it throwing error as "Unable To Convert From java.lang.String to INTEGER"
Below is my code:
String propertyname = "TEST"; String type = "INTEGER"; JSONObject remoteBindingAspects = new JSONObject(); thingname.AddPropertyDefinition(propertyname, "", type, "", "", false, true, false, "VALUE", (double) 0, false, "", (int) 3, "VALUE", (double) 0, "", remoteBindingAspects);
