3 Replies Latest reply on Jan 19, 2018 10:46 AM by jmay RSS
    jmay Apprentice

    Invalid parameter type for service UpdatePropertyValues


    I am trying to implement the functionality from the following PTC article:



    My code looks like this:


          var params = {

                infoTableName : "InfoTable",

                dataShapeName : "NamedVTQ"


            var value = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);

            var prop = new Object();

            prop.name = "DailyPouchCount";

            prop.value = 29907;  //hardcoded for testing

            prop.time = endDate;      //DateTime object from input

            prop.quality = "GOOD";   




    And I get the following error:

    Wrapped java.lang.Exception: Invalid parameter type for service : [UpdatePropertyValues] on <ThingName> Cause: Invalid parameter type for service : [UpdatePropertyValues] on <ThingName>

    Anyone have any idea why?

    Thank you.